@@ -, +, @@
list is used
- Create some records with 041.
Examples: http://www.loc.gov/marc/bibliographic/bd041.html
- Verify this displays nicely in staff and OPAC
- Apply patch
- Verify display is unchanged
- Change one of your MARC framworks (use another framework than
for your first test records)
and link the 041 subfields to the LANG authorised value list
- Go to administration and create some entries for LANG with language
codes and descriptions
- Catalog a 041 using the normal editor (not advanced)
- You can now use a pull down to select the values you want
- Verify the display is now 'Unknown language' for this record
- Apply patch
- Verify all records display the language descriptions now, using
an authorised value or not
- Run misc/maintenance/generate_MARC21Languages.pl
---
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21Languages.xsl | 3 ++-
koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl | 4 ++--
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21Languages.xsl | 3 ++-
koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl | 4 ++--
misc/maintenance/generate_MARC21Languages.pl | 3 ++-
5 files changed, 10 insertions(+), 7 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21Languages.xsl
+++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21Languages.xsl
@@ -491,7 +491,8 @@
Zulu
Zuni
- Unknown language code
+
+
--- a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
+++ a/koha-tmpl/intranet-tmpl/prog/en/xslt/MARC21slimUtils.xsl
@@ -383,9 +383,9 @@
- lang_code-
+ lang_code-
-
+
,
--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21Languages.xsl
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21Languages.xsl
@@ -491,7 +491,8 @@
Zulu
Zuni
- Unknown language code
+
+
--- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/MARC21slimUtils.xsl
@@ -347,9 +347,9 @@
- lang_code-
+ lang_code-
-
+
,
--- a/misc/maintenance/generate_MARC21Languages.pl
+++ a/misc/maintenance/generate_MARC21Languages.pl
@@ -101,7 +101,8 @@ sub generate_footer {
my ($file_handle) = @_;
print {$file_handle} <<"FOOTER";
- Unknown language code
+
+
--