Bugzilla – Attachment 7646 Details for
Bug 4912
After editing private list, user should be redirect to private lists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[SIGNED-OFF] Bug 4912 - After editing private list, user should be redirect to private lists
SIGNED-OFF-Bug-4912---After-editing-private-list-u.patch (text/plain), 1.25 KB, created by
Nicole C. Engard
on 2012-02-14 20:17:25 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 4912 - After editing private list, user should be redirect to private lists
Filename:
MIME Type:
Creator:
Nicole C. Engard
Created:
2012-02-14 20:17:25 UTC
Size:
1.25 KB
patch
obsolete
>From b2cda3e983f0c570d63edbb55fd281df78511d2e Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 13 Feb 2012 12:12:25 -0500 >Subject: [PATCH] [SIGNED-OFF] Bug 4912 - After editing private list, user should be redirect to private lists > >As far as I can tell there isn't a redirect in the code which is >triggered in the wake of a ModShelf() action. This patch adds a >redirect. To test, edit the details of a private and public list >in the OPAC and staff client and confirm that you are redirected >to a view of that list's contents after saving. > >Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> >--- > C4/VirtualShelves/Page.pm | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >diff --git a/C4/VirtualShelves/Page.pm b/C4/VirtualShelves/Page.pm >index cfa4f60..c2e74af 100644 >--- a/C4/VirtualShelves/Page.pm >+++ b/C4/VirtualShelves/Page.pm >@@ -160,6 +160,8 @@ sub shelfpage ($$$$$) { > }; > > ModShelf( $shelfnumber, $shelf ); >+ print $query->redirect( $pages{$type}->{redirect} . "?viewshelf=$shelfnumber" ); >+ exit; > > } elsif ( $op eq 'modif' ) { > my ( $shelfnumber2, $shelfname, $owner, $category, $sortfield ) = GetShelf($shelfnumber); >-- >1.7.2.3
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 4912
:
2274
|
2773
|
7631
|
7646
|
7923
|
7932
|
46329
|
46332
|
46370