Bugzilla – Attachment 20347 Details for
Bug 10714
Redirect to list contents view upon save after initiating edit from list contents view
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view
Bug-10714-Redirect-to-list-contents-view-upon-save.patch (text/plain), 2.76 KB, created by
Galen Charlton
on 2013-08-14 16:22:18 UTC
(
hide
)
Description:
Bug 10714: Redirect to list contents view upon save after initiating edit from list contents view
Filename:
MIME Type:
Creator:
Galen Charlton
Created:
2013-08-14 16:22:18 UTC
Size:
2.76 KB
patch
obsolete
>From 2cff9f5f9a92205155ecaee83c875f17d3a6c381 Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 12 Aug 2013 15:30:16 -0400 >Subject: [PATCH] Bug 10714: Redirect to list contents view upon save after > initiating edit from list contents view > >In the staff client, if you initiate a list edit from the list contents >view you should be redirected to that same view after saving your >changes. The OPAC already works this way. > >To test, view the contents of an existing list. Click the "Edit list" >item under the "Edit" menu. Click save on the list edit form and you >should be redirected back to the contents view of that list. > >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >--- > koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc | 2 +- > koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt | 1 + > 2 files changed, 2 insertions(+), 1 deletion(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >index 225e5dd..4de9e19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc >@@ -38,7 +38,7 @@ > <div class="btn-group"> > <button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="icon-pencil"></i> Edit <span class="caret"></span></button> > <ul class="dropdown-menu"> >- <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?shelfnumber=[% shelfnumber %]&op=modif">Edit list</a></li> >+ <li><a href="/cgi-bin/koha/virtualshelves/shelves.pl?shelfnumber=[% shelfnumber %]&op=modif&display=viewshelf">Edit list</a></li> > [% IF ( showprivateshelves ) %] > <li><a id="deleteshelf" href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves&shelves=1&DEL-[% shelfnumber %]=1">Delete list</a></li> > [% ELSE %] >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >index aac163f..4c51b34 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt >@@ -467,6 +467,7 @@ function placeHold () { > > [% IF ( edit ) %] > <input type="hidden" name="op" value="modifsave" /> >+ <input type="hidden" name="display" value="[% display %]" /> > [% IF ( showprivateshelves ) %]<input type="hidden" name="display" value="privateshelves" />[% END %] > <input type="hidden" name="shelfnumber" value="[% shelfnumber %]" /> > <legend>Edit list <i>[% shelfname | html %]</i></legend> >-- >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 10714
:
20281
|
20347
|
25465
|
25472
|
25473
|
25485
|
25486