Use the argument:
text (Optional)
A free text search. Photos who's title, description or tags contain the text will be returned.
Taken from https://www.flickr.com/services/api/flickr.photos.search.html.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | extend_attribute_for_all_album_types-2403623-11.patch | 7.27 KB | lolandese |
| #7 | extend_terms_match_to_title_and_description2403623-7.patch | 72.34 KB | lolandese |
Comments
Comment #1
lolandese commentedIn flickr.inc we could start by replacing
'tags' => $tags_combined,(two instances)with
'text' => $tags_combined,or just adding this line. No idea if it would perform AND or OR in that case. Also unsure how it deals with the comma separated list of tags.
To try and give it a test spin with Flickr Filter or Flickr Block. Also the Flickr API Explorer would turn handy (https://www.flickr.com/services/api/explore/?method=flickr.photos.search).
Comment #2
lolandese commentedAttached patch:
Comment #3
lolandese commentedComment #4
lolandese commentedComment #5
lolandese commentedComment #6
lolandese commentedComment #7
lolandese commentedProbably the last patch. Corrects also the counter besides numerous improvements of Flickr Style (unrelated to this issue).
Comment #9
lolandese commentedComment #10
lolandese commentedExtended the patch to all album types, Not just 'user'.
TODO:
Still seems to act with an AND operator instead of OR while in the album title 'or' is used.EDIT: Is correct, but group albums with more than one tag are limited to query the last 500 photos. To solve with #2286373: Use flickr.photos.search for groups instead of flickr.groups.pools.getPhotos.
To correct instead the description of the block checkbox (extend searches on 'title' only if the album is not of the 'user' type).
Comment #11
lolandese commented