Bug 891458 - Document List search returning incorrect results
Summary: Document List search returning incorrect results
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Component-Logic, Usability
Version: 2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 2.1
Assignee: Patrick Huang
QA Contact: Carlos Munoz
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-03 01:10 UTC by Carlos Munoz
Modified: 2013-02-26 04:06 UTC (History)
3 users (show)

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
Embargoed:


Attachments (Terms of Use)

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):
2.1-SNAPSHOT

How reproducible:
Always

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:
https://github.com/zanata/zanata/commit/4421a01255152929bdd5a035ab414c7e4ab7cf27

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


Note You need to log in before you can comment on or make changes to this bug.