Bugzilla – Attachment 47876 Details for
Bug 15776
"Return to where you were before" in sysprefs doesn't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 15776: "Return to where you were before" in sysprefs doesn't work
SIGNED-OFF-Bug-15776-Return-to-where-you-were-befo.patch (text/plain), 2.69 KB, created by
Aleisha Amohia
on 2016-02-10 19:30:47 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 15776: "Return to where you were before" in sysprefs doesn't work
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-02-10 19:30:47 UTC
Size:
2.69 KB
patch
obsolete
>From c4f3b7412f8e7760668900847b993f0478525e9a Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Marc=20V=C3=A9ron?= <veron@veron.ch> >Date: Wed, 10 Feb 2016 20:16:44 +0100 >Subject: [PATCH] [SIGNED-OFF] Bug 15776: "Return to where you were before" in > sysprefs doesn't work > >This patch fixes "Return to where you were before" in sysprefs > >To test: >- Apply patch >- Go to Admin - System Preferences >- Click on any tab except for Acquisitions (since this is the default tab > to go to) >- Do a search in the sysprefs toolbar with spelling mistakes so that it > will return no results and you are taken to the Acquisitions tab >- Click the 'Return to where you were before link' in the error message >- Verify that you are taken back to the correct tab > >Signed-off-by: Aleisha <aleishaamohia@hotmail.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >index d11d395..fb3a0b0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/prefs-admin-search.inc >@@ -4,7 +4,7 @@ > <div id="syspref_search" class="residentsearch"> > <p class="tip">System preference search:</p> > <form action="/cgi-bin/koha/admin/preferences.pl"> >- <input type="hidden" name="tab" value="[% last_tab %]" /> >+ <input type="hidden" name="tab" value="[% tab %]" /> > <input type="hidden" name="op" value="search" /> > <input class="head-searchbox" type="text" size="40" name="searchfield" value="[% searchfield %]" /> > <input type="submit" class="submit" value="Search" /> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >index fbde1cd..42f961d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences.tt >@@ -70,7 +70,7 @@ > [% END %] > [% IF ( search_not_found ) %] > <div class="dialog alert"> >- No system preferences matched your search for <strong>[% searchfield %]</strong>. You can try a different search or <a href="/cgi-bin/koha/admin/preferences.pl?tab=[% last_tab %]">return to where you were before.</a> >+ No system preferences matched your search for <strong>[% searchfield %]</strong>. You can try a different search or <a href="/cgi-bin/koha/admin/preferences.pl?tab=[% tab %]">return to where you were before.</a> > </div> > [% END %] > [% FOREACH TAB IN TABS %] >-- >1.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 15776
:
47875
| 47876