Bug 15114

Summary: warning on purchase suggestions is inaccurate
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: TemplatesAssignee: Jonathan Druart <jonathan.druart>
Status: CLOSED FIXED QA Contact: Testopia <testopia>
Severity: normal    
Priority: P5 - low CC: f.demians, jonathan.druart, liz, tomascohen
Version: master   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Attachments: error
Bug 15114: Fix typo in opac-suggestion template
Bug 15114: Fix typo in opac-suggestion template
[PASSED QA] Bug 15114: Fix typo in opac-suggestion template

Description Nicole C. Engard 2015-11-03 13:45:37 UTC
Created attachment 44333 [details]
error

When on the purchase suggestions page in the OPAC if there are no suggestions you get a warning "You are not authorized to see pending purchase suggestions."

But once you add a suggestion that goes away.
Comment 1 Jonathan Druart 2015-11-13 15:46:47 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2015-11-16 18:40:04 UTC Comment hidden (obsolete)
Comment 3 Katrin Fischer 2015-11-16 20:05:09 UTC
Created attachment 44890 [details] [review]
[PASSED QA] Bug 15114: Fix typo in opac-suggestion template

There is a $ in front of the loggedinusername variable, which is
obviously not what is expected here.

It fixes the wrong warning message "You are not authorized to see
pending purchase suggestions." when it should be "There are no pending
purchase suggestions."

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Comment 4 Tomás Cohen Arazi 2015-11-17 13:00:08 UTC
Patch pushed to master.

Thanks Jonathan!
Comment 5 Frédéric Demians 2015-11-29 21:09:19 UTC
This patch has been pushed to 3.20.x, will be in 3.20.6.
Comment 6 Liz Rea 2016-01-06 21:23:22 UTC
Pushed to 3.18.13, and released.