Bugzilla – Attachment 105593 Details for
Bug 25651
Modifying an authorised value make it disappear
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25651: Fix modification of authorised value
Bug-25651-Fix-modification-of-authorised-value.patch (text/plain), 1.20 KB, created by
Nick Clemens (kidclamp)
on 2020-06-05 16:21:47 UTC
(
hide
)
Description:
Bug 25651: Fix modification of authorised value
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-06-05 16:21:47 UTC
Size:
1.20 KB
patch
obsolete
>From b1a98c9efbca0fc01f93f56798989a83f541fe74 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Tue, 2 Jun 2020 15:32:10 +0400 >Subject: [PATCH] Bug 25651: Fix modification of authorised value > >When modifying an existing authorised value, the category is not >correctly passed to the template and so it is not passed to the >POST request, which results in the authorised value switching to >category '', which effectively make it disappear from the interface. >This patch fixes that. > >Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > admin/authorised_values.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl >index e8cffdd697..8717556086 100755 >--- a/admin/authorised_values.pl >+++ b/admin/authorised_values.pl >@@ -79,7 +79,7 @@ if ($op eq 'add_form') { > > if ( $av ) { > $template->param( >- category => $av->category, >+ category_name => $av->category, > authorised_value => $av->authorised_value, > lib => $av->lib, > lib_opac => $av->lib_opac, >-- >2.11.0
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 25651
:
105483
|
105486
| 105593