Bug 891458

Summary: Document List search returning incorrect results
Product: [Retired] Zanata Reporter: Carlos Munoz <camunoz>
Component: Component-Logic, UsabilityAssignee: Patrick Huang <pahuang>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Munoz <camunoz>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: dchen, pahuang, zanata-bugs
Target Milestone: ---   
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 2.1-SNAPSHOT (20130103-1432) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-26 04:06:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Carlos Munoz 2013-01-03 01:10:56 UTC
Description of problem:
Document list search is returning incorrect results when doing multiple continuous searches.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Go to the document list on a Project with multiple documents and where its documents reside under directories.
2. Make sure the "Exact Match" checkbox is not checked.
3. Do a search for a partial word contained in the name or directory of a file.
4. Make sure the above search returns results.
5. Change the search term and hit Enter to search again.
Actual results:
The returned results include some files that should not be there. From my tests it includes documents that were initially returned in the first search (Steps 1-3)

Expected results:
The search results on step 5 should only return documents that contain the search term in the text entry.

Additional info:

Comment 2 Patrick Huang 2013-01-03 02:37:37 UTC
committed into master:

Comment 3 Ding-Yi Chen 2013-01-07 04:39:55 UTC
VERIFIED with Zanata version 2.1-SNAPSHOT (20130107-0032)