]> git.koha-community.org Git - koha.git/commit
Bug 28597: Fetch the logged in branchcode for OpacSuggestioninstructions
authorNick Clemens <nick@bywatersolutions.com>
Fri, 18 Jun 2021 13:09:29 +0000 (13:09 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Jul 2021 17:55:18 +0000 (13:55 -0400)
commit5c5e80c16bea211db5b21ca514f0e07436646857
tree8a1e3045d28d78f8ac92e3dbaec4ecdd88af8772
parentbbd0735546dd98a86828c3887d2f844ff3124d00
Bug 28597: Fetch the logged in branchcode for OpacSuggestioninstructions

To test:
 1 - Set two news items with location 'OpacSuggestioninstructions'
 2 - One should be for all libraries
 3 - One should be for a specific library
 4 - Sign in to opac with user from the specific library
 5 - Add a suggestion
 6 - The instructions only show the all libraries item
 7 - Apply patch
 8 - Reload
 9 - All libraries and specific library items are shown
10 - Allow anonymous suggestions:  AnonSuggestions - Allow
11 - Sign out of opac
12 - Add a suggestion
13 - Only all librares news is visible

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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt