Ticket #97 (assigned defect: None)

Opened 2 years ago

Last modified 0 seconds ago

Search returns no results when 1 result exists

Reported by: nobody Assigned to: nobody (accepted)
Priority: lowest Milestone:
Component: general Version: None
Severity: Keywords:
Cc: Patch Included:
Review Stage:

Description

Elgg version 0.7, Fedora core 4, PHP 5.0.4, MySQL 4.1.20

When using search (from any page) to search for a single word that appears in the tag field of exactly 1 fm_tags record, no results are returned. I was searching for the word 'frontier' but the same happens for other words as well, when there should be one result.

However when searching for a single word that appears in more than 1 fm_tags record, it correctly returns all matching records.

I think the problem is in the last section of code in search_suggest_tags.php.

thanks
blumer2@gmail.com