diff --git a/installer/data/mysql/mandatory/auth_val_cat.sql b/installer/data/mysql/mandatory/auth_val_cat.sql index df119a08f9..4ab8c0e04e 100644 --- a/installer/data/mysql/mandatory/auth_val_cat.sql +++ b/installer/data/mysql/mandatory/auth_val_cat.sql @@ -44,7 +44,7 @@ INSERT IGNORE INTO authorised_value_categories( category_name ) ('HINGS_C'), ('HINGS_AS'), ('HINGS_RD'), - ('STACK') + ('STACK'), ('CONTROL_NUM_SEQUENCE'); -- UNIMARC specific? diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc index 970f58e6d6..f1cb70c1cd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-widgets-marc21.inc @@ -128,7 +128,7 @@ require( [ 'koha-backend', 'widget' ], function( KohaBackend, Widget ) { + '' + '' + '' - + '' + + '' + '' ); @@ -158,7 +158,7 @@ require( [ 'koha-backend', 'widget' ], function( KohaBackend, Widget ) { if ( result ) widget.setControlNumber( result ); } ).end(); - var sequence_list = $.map( KohaBackend.GetAuthorisedValues( 'CONTROL_NUM_SEQUENCE' ), function( authval ) { + var sequence_list = $.map( reg001 , function( authval ) { return authval.lib; } ); sequence_list.sort();