[Koha-bugs] [Bug 11091] limits in catalog search when creating subscription

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Oct 21 21:36:52 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11091

David Noe <drnoe at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22152|0                           |1
        is obsolete|                            |

--- Comment #6 from David Noe <drnoe at bywatersolutions.com> ---
Created attachment 22178
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22178&action=edit
[SIGNED-OFF] Bug 11091 - limits in catalog search when creating subscription

When creating a new subscription, you can click on "Search for Bilbio" to
search into catalog.
A popup opens with a text field for search terms and a combo-box to limit
search.
This combo-box uses the syspref AdvancedSearchTypes to know what list of values
display.
The bug is that the code acts has if AdvancedSearchTypes has always one value,
but since Bug 7031, this syspref can have several values (item types,
collection codes and locations).

This patch removes the use of AdvancedSearchTypes syspref and defines search
form with 2 limits : item types and collection codes (from authorised values
CCODE).
One or both of this information can be on biblio. Searching by location seems
to be useless because this information is always on item.
If CCODE authorised value does not exist or is empty, the collection code
filter is not displayed.

Test plan :
- Check CCODE authorised value exists with some values
- Choose a biblio indexed with both itemtype and ccode indexes
- Go to Serials module and click on "New subscription"
- In form, click on "Search for Biblio"
=> The popup "serials/subscription-bib-search.pl" appears with two limits
- Enter a word of biblio title, select its item type and select its collection
code
- Click on "Search"
=> You get the biblio

Signed-off-by: David Noe <drnoe at bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list