Bugzilla – Attachment 136528 Details for
Bug 30879
Add option to sort components by biblionumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30879: Add option to syspref and update display
Bug-30879-Add-option-to-syspref-and-update-display.patch (text/plain), 2.13 KB, created by
Martin Renvoize (ashimema)
on 2022-06-24 15:35:55 UTC
(
hide
)
Description:
Bug 30879: Add option to syspref and update display
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2022-06-24 15:35:55 UTC
Size:
2.13 KB
patch
obsolete
>From 5de48c1a3db29de0a1d973c5800915631157cc3e Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 22 Jun 2022 14:55:03 +0000 >Subject: [PATCH] Bug 30879: Add option to syspref and update display > >To test: >1 - Update ComponentSortField system preference and verify biblionumber is an option >2 - Repeat test plan from 30327 and confirm sorting with biblionumber works > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../bug_30879_add_biblionumber_sort_option.pl | 15 +++++++++++++++ > .../en/modules/admin/preferences/cataloguing.pref | 1 + > 2 files changed, 16 insertions(+) > create mode 100755 installer/data/mysql/atomicupdate/bug_30879_add_biblionumber_sort_option.pl > >diff --git a/installer/data/mysql/atomicupdate/bug_30879_add_biblionumber_sort_option.pl b/installer/data/mysql/atomicupdate/bug_30879_add_biblionumber_sort_option.pl >new file mode 100755 >index 0000000000..dbf058cbce >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_30879_add_biblionumber_sort_option.pl >@@ -0,0 +1,15 @@ >+use Modern::Perl; >+ >+return { >+ bug_number => "30327", >+ description => "Add biblionumber to ComponentSortField", >+ up => sub { >+ my ($args) = @_; >+ my ($dbh, $out) = @$args{qw(dbh out)}; >+ $dbh->do(q{ >+ UPDATE systempreferences set options="call_number|pubdate|acqdate|title|author|biblionumber" >+ WHERE variable = 'ComponentSortField' >+ }); >+ say $out "Added biblionumber option to ComponentSortField"; >+ }, >+}; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >index 6f66761c37..4aad6fc775 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/cataloguing.pref >@@ -289,6 +289,7 @@ Cataloging: > acqdate: date added > title: title > author: author >+ biblionumber: biblionumber > - ',' > - pref: ComponentSortOrder > choices: >-- >2.20.1
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 30879
:
136255
|
136425
|
136426
|
136427
|
136428
|
136525
|
136526
|
136527
|
136528
|
136545
|
136546
|
136547
|
136548