Bugzilla – Attachment 80307 Details for
Bug 19263
Advanced Editor - Rancor - Add auto control number (001) widget
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19263: Advanced Editor - Rancor - Add auto control number (001) widget
Bug-19263-Advanced-Editor---Rancor---Add-auto-cont.patch (text/plain), 2.34 KB, created by
Nick Clemens (kidclamp)
on 2018-10-09 19:19:28 UTC
(
hide
)
Description:
Bug 19263: Advanced Editor - Rancor - Add auto control number (001) widget
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2018-10-09 19:19:28 UTC
Size:
2.34 KB
patch
obsolete
>From d227d5fda5bd17ee0b8654b863b2803616409804 Mon Sep 17 00:00:00 2001 >From: Cori Lynn Arnold <carnold@dgiinc.com> >Date: Mon, 8 Oct 2018 16:10:16 +0000 >Subject: [PATCH] Bug 19263: Advanced Editor - Rancor - Add auto control number > (001) widget > > In advanced editor mode for cataloging, the 001 widget will > automatically assign the next control number if a format is defined > in authorised_values table. > > To test you need access to the database. > 1) Verify that a new entry for CONTROL_NUM_SEQUENCE is added to > table authorised_value_categories > 2) Enter a new value for authorised_values with the authorised_value > column ending in a number > 3) Edit a record using the advanced editor, specifically the 001 > field > 4) Note the new widget and option to increment or assign manually. > > The buttons fit within the widget now, and there's a database update > to create the CONTROL_NUM_SEQUENCE. > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_19263.perl | 10 ++++++++++ > koha-tmpl/intranet-tmpl/prog/css/cateditor.css | 2 ++ > 2 files changed, 12 insertions(+) > create mode 100644 installer/data/mysql/atomicupdate/bug_19263.perl > >diff --git a/installer/data/mysql/atomicupdate/bug_19263.perl b/installer/data/mysql/atomicupdate/bug_19263.perl >new file mode 100644 >index 0000000..556e665 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_19263.perl >@@ -0,0 +1,10 @@ >+$DBversion = 'XXX'; # will be replaced by the RM >+if( CheckVersion( $DBversion ) ) { >+ # insert the authorized_value_category for CONTROL_NUM_SEQUENCE >+ $dbh->do( "INSERT IGNORE INTO authorised_value_categories values ('CONTROL_NUM_SEQUENCE');" ); >+ >+ >+ # Always end with this (adjust the bug info) >+ SetVersion( $DBversion ); >+ print "Upgrade to $DBversion done (Bug 19263 - Advanced Editor - Rancor - Add auto control number (001) widget)\n"; >+} >diff --git a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >index 7fc4119..989e8dd 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >+++ b/koha-tmpl/intranet-tmpl/prog/css/cateditor.css >@@ -137,6 +137,8 @@ body { > #editor .subfield-widget button { > font-family: inherit; > font-size: inherit; >+ height: 1.5em; >+ line-height: 1em; > margin-left: 5px; > vertical-align: middle; > } >-- >2.1.4
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 19263
:
66897
|
76864
|
78085
|
80231
|
80237
|
80240
|
80257
|
80306
|
80307
|
80308
|
80500
|
80508
|
80509
|
80510
|
80511