From 94b15df0d4c4a99378ce0f24e21e98f8e4f573cf Mon Sep 17 00:00:00 2001 From: Hayley Mapley Date: Thu, 21 Mar 2019 14:39:59 +1300 Subject: [PATCH] Bug 22099: Fixed ILL toolbar to say Refresh when displaying requests On the ILL requests page that lists all requests, the List Request button is displayed as part of the ILL toolbar. This patch fixes this by instead changing the wording of the button to Refresh when on the main page. Test plan: 1) More -> ILL Requests, note that the List Requests button displays while all the requests are already displayed 2) Apply the patch and restart things 3) More -> ILL Requests, note that the button now says Refresh, and clicking it refreshes the page 4) Check that on all the other functions of the ILLs the button says List Requests 5) Sign off! Sponsored-by: Catalyst IT Signed-off-by: Magnus Enger Small conflict resolved. Works as advertised. Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit 66877b780a775daf135ef1137364d76f67166e61) Signed-off-by: Fridolin Somers (cherry picked from commit 6dd6ce120ad28f16fcddfb8acc94a019a7c34509) Signed-off-by: Lucas Gass --- .../intranet-tmpl/prog/en/includes/ill-toolbar.inc | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc index f3ef56c74b..971aacb839 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc @@ -23,8 +23,14 @@ New ILL request [% END %] - - List requests - + [% IF query_type == 'illlist' %] + + Refresh + + [% ELSE %] + + List requests + + [% END %] [% END %] -- 2.39.5