@@ -, +, @@ display - List of booksellers changed to a drop-down list - Baskets columns renamed and reordered to make them consistent with acqui/parcels.pl - warning in log removed - changed a '&' to '&' to pass W3 validator --- acqui/booksellers.pl | 2 +- .../prog/en/modules/acqui/booksellers.tt | 22 ++++++++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) --- a/acqui/booksellers.pl +++ a/acqui/booksellers.pl @@ -122,7 +122,7 @@ for my $vendor (@suppliers) { (haspermission( $uid, { acquisition => q{*} } ) && #user has acq permissions and ($viewbaskets eq 'all' || #user is allowed to see all baskets ($viewbaskets eq 'branch' && $authorisedby && $userbranch eq $basketbranch) || #basket belongs to user's branch - ($basket->{authorisedby} && $viewbaskets == 'user' && $authorisedby == $loggedinuser) #user created this basket + ($basket->{authorisedby} && $viewbaskets eq 'user' && $authorisedby == $loggedinuser) #user created this basket ) ) ) { --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt @@ -24,6 +24,10 @@ $(document).ready(function() { { 'aTargets': [-1], 'bSortable': false } ] })); + $("#supplierlist").change(function() { + var id = $(this).find("option:selected").val(); + window.location.href = "#" + id; + }); }); //]]> @@ -49,11 +53,13 @@ $(document).ready(function() { [% END %] [% IF ( loop_suppliers.size ) %] [% UNLESS (count == 1) %] -