[Koha-bugs] [Bug 18083] Don't show 'library' selection on popular titles page for single-branch libraries

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 17 16:44:21 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18083

Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:

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

--- Comment #2 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 70623
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=70623&action=edit
Bug 18083: Don't show 'library' selection on popular titles page for
single-branch libraries

This patch hides the search filter labelled "From" that offers you to
select a library branch which is located on the 'popular titles' page on the
OPAC. It is hidden when the library only has one branchas it would be
unneccessary to have an option for other branches when there is only one.

Test Plan:
1) Make sure you have a single-branch library
2) Make sure OPACTopIssue is allowed in the OPAC preferences
3) In the OPAC, got to 'Most Popular' page
4) Check that there is no "From" filter in the refine search
5) Create a new branch so that you have more than one branch
6) Check that there is a "From" filter in the refine search on the Most Popular
page.

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
Amended white space on second change.

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


More information about the Koha-bugs mailing list