MT2116, Follow-up: CSV Export, fix backporting bugs
This commit is contained in:
parent
5af80ab9ab
commit
7b27b9ecb2
|
|
@ -1110,7 +1110,7 @@ sub GetKohaAuthorisedValuesFromField {
|
|||
my $dbh = C4::Context->dbh;
|
||||
my $avcode = GetAuthValCodeFromField($field, $subfield, $fwcode);
|
||||
if ($avcode) {
|
||||
my $sth = $dbh->prepare("select authorised_value, lib, lib_opac from authorised_values where category=? ");
|
||||
my $sth = $dbh->prepare("select authorised_value, lib from authorised_values where category=? ");
|
||||
$sth->execute($avcode);
|
||||
while ( my ($val, $lib, $lib_opac) = $sth->fetchrow_array ) {
|
||||
$values{$val} = ($opac && $lib_opac) ? $lib_opac : $lib;
|
||||
|
|
|
|||
|
|
@ -360,7 +360,6 @@ sub marc2csv {
|
|||
($preprocess,$postprocess, $fieldprocessing) = YAML::LoadFile($configfile);
|
||||
}
|
||||
|
||||
warn $fieldprocessing;
|
||||
# Preprocessing
|
||||
eval $preprocess if ($preprocess);
|
||||
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ INSERT INTO permissions (module_bit, code, description) VALUES
|
|||
(13, 'delete_anonymize_patrons', 'Delete old borrowers and anonymize circulation history (deletes borrower reading history)'),
|
||||
(13, 'batch_upload_patron_images', 'Upload patron images in batch or one at a time'),
|
||||
(13, 'schedule_tasks', 'Schedule tasks to run'),
|
||||
(13, 'manage_csv_profiles', 'Manage CSV export profiles'),
|
||||
(15, 'check_expiration', 'Check the expiration of a serial'),
|
||||
(15, 'claim_serials', 'Claim missing serials'),
|
||||
(15, 'create_subscription', 'Create a new subscription'),
|
||||
|
|
|
|||
Loading…
Reference in New Issue