@@ -, +, @@
select
pickup locations.
Pickup library -drop down. It lists both of the non-pickup branches.
Pickup library -drop down lists both of the non-pickup branches.
should still list the branch where the hold was marked to be picked
from.
---
koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 2 +-
koha-tmpl/intranet-tmpl/prog/js/holds.js | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
+++ a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc
@@ -125,7 +125,7 @@
[% Branches.GetName(hold.branchcode) | html %]
[% ELSE %]
[% END %]
[% END %]
--- a/koha-tmpl/intranet-tmpl/prog/js/holds.js
+++ a/koha-tmpl/intranet-tmpl/prog/js/holds.js
@@ -78,8 +78,9 @@ $(document).ready(function() {
selectedbranch = " selected='selected' ";
setbranch = CURRENT;
- }
- else{
+ } else if ( oObj.branches[i].pickup_location == 0 ) {
+ continue;
+ } else{
selectedbranch = '';
setbranch = '';
}
--