[Koha-bugs] [Bug 12136] Problem in opac-topissues.pl if AdvancedSearchTypes has multiple values (separated by pipes)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 25 15:08:30 CEST 2014


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

--- Comment #2 from Owen Leonard <oleonard at myacpl.org> ---
> 1) Set OpacTopissue preferende to "Allow"
> 2) Set AdvancedSearchTypes to an empty value
> -> "Most popular" displays "Limit to" with "All item types"

I get a dropdown with "All collections" and a list of collection codes.
Submitting the form with default values (10 titles, all libraries, all
collections, 3 months) returns no results. Only by changing the time span to
"no limit" do I get results.

> 3) Set AdvancedSearchTypes to 'itemtypes'
> -> "Most popular" displays "Limit to" with "All item types"

Using 'itemtypes' I do get a list of item types, but the same results for a
default search as above.

> 4) Set AdvancedSearchTypes to 'ccode'
> -> "Most popular" displays "Limit to" with "All collections"

Same results as in step 1-2.

> 5) Set AdvancedSearchTypes to 'ccode|itemtypes' or 'itemtypes|ccode' or
> 'ccode'
> -> "Most popular" should now display  "Limit to" with "All collections"

Same results as in step 1-2. Shouldn't these combination value offer some
combination of limiters? I would expect either a dropdown which combined both
collection codes and item types, or a separate dropdown for collection and item
type.

And what about location? This patch seems to have broken the option to limit by
shelving location if AdvancedSearchTypes is set to 'loc'.

If we're going to address this problem doesn't the patch need to cover the
search query as well?

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


More information about the Koha-bugs mailing list