]> git.koha-community.org Git - koha.git/commit
Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt
authorBlou <blou@inlibro.com>
Wed, 3 Feb 2021 16:46:33 +0000 (11:46 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 12 Feb 2021 13:37:18 +0000 (14:37 +0100)
commit1a4a1d22f7c79f6d70331eda703f553408ae64ca
tree2d1564f476cc43fa6eecfa70ea5fcc2364bca2df
parent1286c74479efa65d231bdb276471733bffc5add0
Bug 27608: Corrects 'accepted by' inconsistency in suggestion.tt

When looking at an accepted suggestion in suggestion.pl, under 'Suggestion management', the displayed cardnumber in parenthesis is the wrong one.  It displays the "suggestedby"'s cardnumber instead of the acceptedby.

Test:
- create a suggestion in OPAC or staff client with user A.
- In staff client, go to accept it with User B.
- Click Edit
- Under section "Suggestion management", you have a "Accepted on".
- In the By column, the cardnumber in parenthsis is not the B one.
- Apply patch, refresh.

Looking at the code patch is self-explanatory.

Sponsored-by: Collecto
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
JD Amended patch: Add sponsor line

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit bb692e83ea97a32eb16eb1b1336a67f41c66d0de)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt