Bugzilla – Attachment 7631 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]
Bug 4912 - After editing private list, user should be redirect to private lists
Bug-4912---After-editing-private-list-user-should-.patch (text/plain), 1.22 KB, created by
Owen Leonard
on 2012-02-13 17:21:32 UTC
(
hide
)
Description:
Bug 4912 - After editing private list, user should be redirect to private lists
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2012-02-13 17:21:32 UTC
Size:
1.22 KB
patch
obsolete
>From af96895ae565e8f42934dfdd594c70dfd00aaa5d Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Mon, 13 Feb 2012 12:12:25 -0500 >Subject: [PATCH] Bug 4912 - After editing private list, user should be redirect to private lists >Content-Type: text/plain; charset="utf-8" > >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. >--- > 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.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