From 412995b52207b66b7e6994d433eca2038bee5686 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Fri, 11 Oct 2013 03:52:59 +0000 Subject: [PATCH] Bug 10854: (follow-up) language tweaks - adjust description of the default profile - adjust description of the sample data SQL - adjust description of the download link Signed-off-by: Galen Charlton --- installer/data/mysql/en/optional/csv_profiles.sql | 3 ++- installer/data/mysql/en/optional/csv_profiles.txt | 4 ++-- installer/data/mysql/updatedatabase.pl | 7 +++++-- koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt | 2 +- 4 files changed, 10 insertions(+), 6 deletions(-) diff --git a/installer/data/mysql/en/optional/csv_profiles.sql b/installer/data/mysql/en/optional/csv_profiles.sql index ac427602f8..ebf599c6a4 100644 --- a/installer/data/mysql/en/optional/csv_profiles.sql +++ b/installer/data/mysql/en/optional/csv_profiles.sql @@ -1 +1,2 @@ -INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type ) VALUES ( "issues to claim", "default csv export for issues claims", "SUPPLIER=aqbooksellers.name|TITLE=subscription.title|ISSUE NUMBER=serial.serialseq|LATE SINCE=serial.planneddate", ",", "sql" ); +INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type ) +VALUES ( "issues to claim", "default CSV export for serial issue claims", "SUPPLIER=aqbooksellers.name|TITLE=subscription.title|ISSUE NUMBER=serial.serialseq|LATE SINCE=serial.planneddate", ",", "sql" ); diff --git a/installer/data/mysql/en/optional/csv_profiles.txt b/installer/data/mysql/en/optional/csv_profiles.txt index af07c867e2..9dcff5d0ed 100644 --- a/installer/data/mysql/en/optional/csv_profiles.txt +++ b/installer/data/mysql/en/optional/csv_profiles.txt @@ -1,3 +1,3 @@ -csv profiles +CSV profiles -issues to claim: Bug 10854 allows to choose a csv profile for exporting claims. This profile is the default one. +Default CSV export profiles; including one for exporting serial claims. diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4f3d17391c..cc2eb1d9b1 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -7220,9 +7220,12 @@ if ( CheckVersion($DBversion) ) { $DBversion = "3.13.00.XXX"; if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { $dbh->do(q{ - INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type ) VALUES ( "issues to claim", "default csv export for issues claims", "SUPPLIER=aqbooksellers.name|TITLE=subscription.title|ISSUE NUMBER=serial.serialseq|LATE SINCE=serial.planneddate", ",", "sql" ) + INSERT IGNORE INTO export_format( profile, description, content, csv_separator, type ) + VALUES ( "issues to claim", "efault CSV export for serial issue claims", + "SUPPLIER=aqbooksellers.name|TITLE=subscription.title|ISSUE NUMBER=serial.serialseq|LATE SINCE=serial.planneddate", + ",", "sql" ) }); - print "Upgrade to $DBversion done (Bug 10854: Add the default csv profile for claiming issues)\n"; + print "Upgrade to $DBversion done (Bug 10854: Add the default CSV profile for claiming issues)\n"; SetVersion($DBversion); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt index 1caeaf6067..f4de94c2f0 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/claims.tt @@ -305,7 +305,7 @@ [% END %] - Export selected items data + Download selected claims [% END %] [% IF ( letter ) %] -- 2.39.5