Koha/catalogue
Jonathan Druart 3b552ac937 Bug 28622: (bug 15758 follow-up) Remove incorrect branch selection in adv search
From
  commit df97814f30
  Bug 15758: Koha::Libraries - Remove GetBranches

+    selected_branchcode => ( C4::Context->IsSuperLibrarian ? C4::Context->userenv : '' ),

And

-        [% PROCESS options_for_libraries libraries => Branches.all() %]
+        [%# FIXME Should not we filter the libraries displayed? %]
+        [% PROCESS options_for_libraries libraries => Branches.all( selected => selected_branchcode, unfiltered => 1 ) %]

The change in the pl is wrong as it should pass C4::Context->userenv->{branch},
but prior to this commit it seems that we didn't select the logged in
library anyway.

Looks like we should remove this code but preserve the current behavior and select "All libraries".

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-07-30 09:48:54 -04:00
..
detail.pl Bug 28513: Fix analytics search links so they don't match unrelated biblios 2021-06-25 09:51:21 -04:00
export.pl Bug 24108: Make export file names consistent 2021-02-17 16:28:25 +01:00
getitem-ajax.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
image.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
imageviewer.pl Bug 28178: Display the correct image in the image viewer 2021-04-27 16:23:49 +02:00
ISBDdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
issuehistory.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
item-export.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
itemsearch.pl Bug 28383: Fix itemsearch when accessed from the login form 2021-06-18 10:51:13 -04:00
labeledMARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
MARCdetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
moredetail.pl Bug 26707: Split cart and lists button on bibliographic detail pages 2021-01-04 16:31:29 +01:00
search-history.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
search.pl Bug 28622: (bug 15758 follow-up) Remove incorrect branch selection in adv search 2021-07-30 09:48:54 -04:00
showmarc.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
stockrotation.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
updateitem.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00