Bugzilla – Attachment 105486 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.14 KB, created by
ByWater Sandboxes
on 2020-06-02 13:23:28 UTC
(
hide
)
Description:
Bug 25651: Fix modification of authorised value
Filename:
MIME Type:
Creator:
ByWater Sandboxes
Created:
2020-06-02 13:23:28 UTC
Size:
1.14 KB
patch
obsolete
>From 91e2defb123444985ffcb0adc2a9169923b8fe4e 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> >--- > 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