The parameter 'branchcode' is never set
Created attachment 122133 [details] [review] 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
Created attachment 122178 [details] [review] 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>
Incidentally, stumbled over this one too this morning. Bug 28650
(In reply to Marcel de Rooy from comment #3) > Incidentally, stumbled over this one too this morning. > Bug 28650 And did the same thing on bug 27948 :)
Created attachment 122548 [details] [review] 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>
Pushed to master for 21.11, thanks to everybody involved!
Pushed to 21.05.x for 21.05.02
Depends on Bug 26630
Depends on Bug 26630 not in 20.11.x