]> git.koha-community.org Git - koha.git/commit
Bug 27608: [20.05] Corrects 'accepted by' inconsistency in suggestion.tt
authorBlou <blou@inlibro.com>
Wed, 3 Feb 2021 16:46:33 +0000 (11:46 -0500)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 18 Feb 2021 12:22:04 +0000 (12:22 +0000)
commit7495bf9706cef54583676e7c15aa5103aacbf1a5
treee382f69ac5e002db48788f45e531c4241a048d66
parent0bae0f289c12875ac9e8e158ebf4aa46ff46b303
Bug 27608: [20.05] 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: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/suggestion/suggestion.tt