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

Martin Renvoize <[email protected]> changed:

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

--- Comment #13 from Martin Renvoize <[email protected]> ---
Created attachment 143117
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=143117&action=edit
Bug 31654: Hide non-public libraries from MastheadLibraryPulldown
(bug_31654_hide_nonpublic_libs)

Do not list library in masthead and advanced search if branches.public is false

Test Plan:

* Set OpacAddMastheadLibraryPulldown to "Add"
* Go to Administration -> Libraries, edit "Fairfield", set "public" = "no" (at
the end of the form)
* Or connect to DB and run
  update branches set public = 0 where branchcode like 'F%';
  This will set all three libraries starting with F to non-public
* open OPAC
* The "All libraries" Pulldown in the Header (between search slot and search
button) still shows the non-public libraries
* Go to OPAC -> Advanced Search, scroll to "Location and availability": The
selectbox still shows the non-public libraries

Now apply the patch

* Open OPAC
* The "All libraries" Pulldown in the Header now should not contain the
libraries set to "public = no"
* And in the Advanced Search "Location and availability" pulldown those
libraries should also not be shown.

Sponsored-by: Steiermärkische Landesbibliothek
Signed-off-by: Claude Demeure <[email protected]>
Signed-off-by: Martin Renvoize <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to