View Issue Details

IDProjectCategoryView StatusLast Update
4780Composrsearchpublic2022-01-19 17:42
ReporterAdam Edington Assigned ToChris Graham  
PrioritynormalSeveritytrivial 
Status resolvedResolutionfixed 
Product Version10.0.39 
Fixed in Version10.0.40 
Summary4780: Tag specificity
DescriptionIt would be nice if tag search results were specific to the tag. When used for something like countries, entries with United Kingdom and United States tags are both returned if either are clicked. I imagine United Arab Emirates entries would also be returned.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2022-01-19 16:27

administrator   ~7275

Normally tags don't have spaces, but that's no excuse - I'll take a look.

Chris Graham

2022-01-19 16:58

administrator   ~7277

I can't reproduce. The tags on content screens, and the tags on the side_tag_cloud block, all quote the search terms - which retrieves the specific term only.
If I'm missing something please comment on it.

Adam Edington

2022-01-19 17:04

administrator   ~7278

Well when I click United Kingdom on the meta tags side block, I am also getting results for United States so it must be matching on the United? No big deal, I'll use a catalogue field instead.

Chris Graham

2022-01-19 17:05

administrator   ~7279

What's the URL it gets the search results at?

Adam Edington

2022-01-19 17:08

administrator   ~7280

index.php?page=search&type=results&content="United+Kingdom"&days=-1&only_search_meta=1&all_defaults=0&search_videos=1

I also have keep_forced_open set to 1 if that's relevant, to get around the offline.html

admin

2022-01-19 17:42

administrator   ~7281

Automated response: Looking up tags with spaces in fails if boolean search is enabled in the configuration / boolean search option poorly described

By default the the boolean search option is disabled. This actually allows boolean search to still operate, but based on automatic detection of syntax - and only via an efficient boolean search mode supported by the database software. This is not explained at all.

If the boolean search option is enabled, it must be explicitly stated. The tag search links are not doing this, do boolean search is not activated for tag searches like it should be.

admin

2022-01-19 17:42

administrator   ~7282

Fixed in git commit ed4faccf0 (https://gitlab.com/composr-foundation/composr/commit/ed4faccf0 - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2022-01-19 10:03 Adam Edington New Issue
2022-01-19 16:27 Chris Graham Note Added: 0007275
2022-01-19 16:58 Chris Graham Note Added: 0007277
2022-01-19 16:58 Chris Graham Assigned To => Chris Graham
2022-01-19 16:58 Chris Graham Status Not Assigned => Closed
2022-01-19 16:58 Chris Graham Resolution open => unable to reproduce
2022-01-19 17:04 Adam Edington Note Added: 0007278
2022-01-19 17:05 Chris Graham Note Added: 0007279
2022-01-19 17:08 Adam Edington Note Added: 0007280