Bug 4049

Summary: Search on itemtypes returning noise
Product: Koha Reporter: Henri-Damien LAURENT <henridamien>
Component: SearchingAssignee: Henri-Damien LAURENT <henridamien>
Status: CLOSED FIXED QA Contact: Bugs List <koha-bugs>
Severity: minor    
Priority: P5 - low CC: chris, jonathan.druart, nengard
Version: rel_3_0   
Hardware: PC   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: patch proposed

Description Chris Cormack 2010-05-21 01:22:34 UTC


---- Reported by henridamien@koha-fr.org 2010-01-18 13:45:13 ----

There is a problem with the search on itemtype as it is at the moment.
Suppose you have 2 itemtypes :
Articles de PERIODIQUE
PERIODIQUE
And you search ARTICLES de PERIODIQUE
it will also send you back the PERIODIQUE Elements where it should only send you ARTICLES de periodiques



---- Additional Comments From henridamien@koha-fr.org 2010-01-18 14:37:12 ----

Created an attachment
patch proposed





--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:22 UTC  ---

This bug was previously known as _bug_ 4049 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=4049
Imported an attachment (id=1800)

Actual time not defined. Setting to 0.0
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.
The original submitter of attachment 1800 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.

Comment 1 Chris Cormack 2010-12-15 01:44:29 UTC
Is this still relevant?
Comment 2 Nicole C. Engard 2011-03-07 18:24:47 UTC
I can't reproduce the behavior mentioned in this bug - should we close this bug?
Comment 3 Jonathan Druart 2011-04-05 12:18:04 UTC
I have reproduce the mentioned bug : 
I create 2 itemtypes : 
- Articles de PERIODIQUE
- PERIODIQUE
When i search on 'PERIODIQUE', all 'Articles de PERIODIQUE' and 'PERIODIQUE' biblios are returned.

The proposed patch resolve this bug
Comment 4 Chris Cormack 2011-04-07 03:57:16 UTC
Pushed, please test