From aa25d4c335a2d7055a59b8675b8f88786a81f80c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Pichenot?= Date: Fri, 1 Apr 2022 14:24:57 +0200 Subject: [PATCH] Bug 30430: UNIMARC XSLT add field B214 display test plan : - Apply patch - Find a record with a B214 - Check on both Opac-Details and Opac-Result that the field is displayed. - Do the same checks on catalogue/search results and catalogue/details in Staff interface. --- .../en/xslt/UNIMARCslim2intranetDetail.xsl | 975 +++++++++--------- .../en/xslt/UNIMARCslim2intranetResults.xsl | 139 ++- .../prog/en/xslt/UNIMARCslimUtils.xsl | 926 +++++++++++------ .../en/xslt/UNIMARCslim2OPACDetail.xsl | 14 +- .../en/xslt/UNIMARCslim2OPACResults.xsl | 4 +- .../bootstrap/en/xslt/UNIMARCslimUtils.xsl | 264 +++++ 6 files changed, 1458 insertions(+), 864 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl index 1fc5d88f3d..2e85bcc17d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetDetail.xsl @@ -1,492 +1,503 @@ - - - - - - - - - - - - - - - - - - - -

- - - + + + + + + + + + + + + +

+ + + - - - : - - - - - - [ - - ] - - - / - - - - ; - - -

-
-
- - - - 700 - Main Author - main_author - - - - 710 - Corporate Author (Main) - corporate_main_author - - - - 701 - Coauthor - coauthor - - - - 702 - Secondary Author - secondary_author - - - - 711 - Corporate Author (Coauthor) - corporate_coauthor - - - - 712 - Corporate Author (Secondary) - corporate_secondary_author - - - - - Language: - - - - of intermediate text, - of original work, - of summary, - of contents page, - of title page, - of title proper, - of libretto, - of accompanying material, - of subtitles, - - - - - . - - - ; - - - - - - - - - - Country: - - - - - - . - - , - - - - - - - - - - - - - - Tag 009: - - - - - - - - ISBN: - - - - - - . - - - ; - - - - - - - - - - - ISSN: - - - - - - . - - - ; - - - - - - - - - 225 - Series - series - - - - - Dewey: - - - - , - - - - , - + + + : + + + + + + [ + + ] + + + / + + + + ; + + +

+
+
+ + + 700 + Main Author + main_author + + + 710 + Corporate Author (Main) + corporate_main_author + + + 701 + Coauthor + coauthor + + + 702 + Secondary Author + secondary_author + + + 711 + Corporate Author (Coauthor) + corporate_coauthor + + + 712 + Corporate Author (Secondary) + corporate_secondary_author + + + + Language: + + + + of intermediate text, + of original work, + of summary, + of contents page, + of title page, + of title proper, + of libretto, + of accompanying material, + of subtitles, + + + + + . + + + ; + + + + + + + + + Country: + + + + + + . + + + , + + + + + + + + + + + + + + + + + + + - - ; - - - - - - - Classification: - - - - , - - - - , - - - ; - - - - - - - Contents note: - - - - - abcdjpvxyz - jpxyz - -- - - - - - - - - - - Abstract: - - - - - . - - - ; - - - - - - - - - Provenance note: - - - - - - - - - Bibliography: - - - .; - - - - - - - Thesis: - - - .; - - - - - - - Audience: - - - .; - - - - - - - SUDOC serial history: - - : - - .; - - - - - - 600 - Subject - Personal Name - - - - 601 - Subject - Corporate Author - - - - 602 - Subject - Family - - - - 604 - Subject - Author/Title - - - - 606 - Subject - Topical Name - - - - 607 - Subject - Geographical Name - - - - 608 - Subject - Form - - - - 610 - Subject - - - - 615 - Subject Category - - - - 616 - Trademark - - - - - Online Resources: - - - - - - - - - 100 - - - - y3z - - - + + + + Tag 009: + + + + + + + ISBN: + + + + + + . + + + ; + + + + + + + + + + ISSN: + + + + + + . + + + ; + + + + + + + + 225 + Series + series + + + + Dewey: + + + + , + + + + , + + + + ; + + + + + + + Classification: + + + + , + + + + , + + + + ; + + + + + + + Contents note: + + + + + abcdjpvxyz + jpxyz + -- + + + + + + + + + Abstract: + + + + + . + + + ; + + + + + + + + Provenance note: + + + + + + + + Bibliography: + + + + + . + + + ; + + + + + + + + Thesis: + + + + + . + + + ; + + + + + + + + Audience: + + + + + . + + + ; + + + + + + + + SUDOC serial history: + + : + + + + + . + + + ; + + + + + + + 600 + Subject - Personal Name + + + 601 + Subject - Corporate Author + + + 602 + Subject - Family + + + 604 + Subject - Author/Title + + + 606 + Subject - Topical Name + + + 607 + Subject - Geographical Name + + + 608 + Subject - Form + + + 610 + Subject + + + 615 + Subject Category + + + 616 + Trademark + + + + Online Resources: + + + + + + + + + + + + + + + + + + 100 + + + + + + y3z + + + Click here to access online - - - - - | - - - - -
- - - - - - aq - - - - :,;/ - - - - - - - - - - - - - - - - - cdn - - - - - - - acdeq - - - - - - - - bc - - - - - - - - - - n - n - fghkdlmor - - - - - p - p - fghkdlmor - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + | + + + + + + + + + + aq + + + + :,;/ + + + + + + + + + + + + + + + + cdn + + + + + + acdeq + + + + + + + + bc + + + + + + + + + n + n + fghkdlmor + + + + + p + p + fghkdlmor + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl index 5d0a06da15..3c11344436 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslim2intranetResults.xsl @@ -1,81 +1,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - title - - - + + + + + + + + + + + + + + + + + + + + + + + title + + - - - - : - - - - [ - - ] - - - : - - - - : - - - - / - - - - ; - - - - - - - - - - - - - + + + + : + + + + [ + + ] + + + : + + + + : + + + + / + + + + ; + + + + + + + + + + + diff --git a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl index a27353cb70..ddf4827078 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl +++ b/koha-tmpl/intranet-tmpl/prog/en/xslt/UNIMARCslimUtils.xsl @@ -1,135 +1,440 @@ - - + + + + + + + + + + + + + + + + + + + + + + + + + Publication: + + + + + + + + : + + + + + + , + + + + + + + + + + + + + + + + + + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/catalogue/search.pl?idx=pb&q= + + Search for publisher " + " + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/catalogue/search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+ + + +
+
+ + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/catalogue/search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+ + + +
+
+ Publication: + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/catalogue/search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+
+
+
+
+ + + + Description: + + + + : + + + + + + + + + + ; + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - Publication: - - - - - - - - : - - - - - - , - - - - - - - - - - - - - - - - - Description: - - - - : - - - ; - - - + - - - - - + + + + + + - - - Linked with: - - - - - - : - - - / - - - , - - - - - - + + + Linked with: + + + + + + : + + + + + + + + + + / + + + + + + + + + , + + + + + + + + + + + + + - + + + - + - - - - + + + + + - - - - - - - - + + + + + + + + - - + + + @@ -138,36 +443,32 @@ - - - - - - /cgi-bin/koha/catalogue/detail.pl?biblionumber= - - - /cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber= - - - /cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber= - - - /cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber= - - - /cgi-bin/koha/catalogue/detail.pl?biblionumber= - - - - + + + + + /cgi-bin/koha/catalogue/detail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/ISBDdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/labeledMARCdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber= + + + /cgi-bin/koha/catalogue/detail.pl?biblionumber= + + + - - + - - - - + + @@ -179,175 +480,188 @@ - + + + - + - - - - rtl - - - - - - - - - - - - : - - - - - : - - - - - - - - - - / - - - - , - - - - , - - - - , - - - - , - - - - , - - - - - - - - - - - - - - - - : - - - - - - /cgi-bin/koha/catalogue/search.pl?q=an: - - - /cgi-bin/koha/catalogue/search.pl?q=su: - - - - - - abcdjptvxyz - jpxyz - -- - - - - - - | - - - - - - - - - - - - - - - : - - - - - - - - - /cgi-bin/koha/catalogue/search.pl?q=an: - - - - - - /cgi-bin/koha/catalogue/search.pl?q=au: - - %20 - - - - - - - - - , - - - - , - - - - - - - - - ( - - ) - - - - - - - - - - - - - ; - - - - - - + + + rtl + + + + + + + + + + + : + + + + + : + + + + + + + + + + / + + + + , + + + + , + + + + , + + + + , + + + + , + + + + + + + + + + + + + + + : + + + + + + /cgi-bin/koha/catalogue/search.pl?q=an: + + + + + + + + + + /cgi-bin/koha/catalogue/search.pl?q=su: + + + + + + + + + + + + + + abcdjptvxyz + jpxyz + -- + + + + + + | + + + + + + + + + + + + + + : + + + + + + + + + /cgi-bin/koha/catalogue/search.pl?q=an: + + + + + + /cgi-bin/koha/catalogue/search.pl?q=au: + + %20 + + + + + + + + + , + + + + , + + + + + + + + + ( + + ) + + + + + + + + + + + + + ; + + + + + +
diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl index 4066be9ab4..56c9956641 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACDetail.xsl @@ -186,7 +186,19 @@ edition - + + + + + + + + + + + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl index 9d8c7de16e..731f6f170d 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslim2OPACResults.xsl @@ -151,7 +151,9 @@ piece_analytic_level - + + + diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl index 8c5b7fde95..448c51b5c6 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl +++ b/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl @@ -219,6 +219,270 @@ + + + + + + + +
+
+ + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+ + + +
+
+ + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+ + + +
+
+ Publication: + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + , + + + + + + , + + + + + +
+
+
+
+
+
+ + + + + + + + Production: + + Distribution: + + Manufacture: + + + + Copyright date: + + Protection date: + + Copyright date / protection date: + + + + Publication: + + + + + + + + + + + : + + + + + + , + + + + + /cgi-bin/koha/opac-search.pl?idx=pb&q= + + Search for publisher " + " + + + + + + + , + + + + + + + + + + + + + + + + + + + + -- 2.30.2