Bug 3567

Summary: Display Alternate Graphic Representation (MARC21 880) in OPAC
Product: Koha Reporter: Chris Cormack <chris>
Component: OPACAssignee: Chris Cormack <chris>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: PATCH-Sent (DO NOT USE) CC: gmcharlt
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on:    
Bug Blocks: 23032    
Attachments: OPAC results page with Hebrew fields
OPAC detail page with Hebrew and Cyrillic script
OPAC detail with Japanese script
proposed patch
follow-up patch for ISO language codes
patch for highlighting bug

Description Chris Cormack 2010-05-21 01:12:14 UTC


---- Reported by wolfgang.heymans@bsz-bw.de 2009-09-01 07:19:24 ----

Extend XSL template for OPAC detail and results to display MARC21 fields 880 containing Alternate Graphic Representation for title, author et al.

Fields in right-to-left languages like Hebrew will be displayed floating right to their latin counterparts, fields in left-to-right scripts like Cyrillic together with the latin ones.

Example: MARC21 record

=245  10$6880-02$aSidur tefilah Tselota de-Avraham :$bʻal pi nusaḥ ṿe-seder she-hitpalel ... Avraham ... Landa ... /$cmevorar ʻa. p. ha-halakhah ṿeha-Ḳabalah ʻa. y. ... Menaḥem Mendil Ḥayim ... Landa ṿe-nikra shemo Shomeʻa tefilah ... ; ṿa-ʻalehem nilṿah Sheruta di-tselota, heʻarot, heʾarot u-meḳorot li-tefilah u-minhageha ba-halakhah, be-agadah uve-Ḳabalah me-et Yaʻakov b.k.R. Yiśraʾel Ḥanokh Ṿerdiger.
=260  \\$6880-03$a[Ḥ.m. :$bḥ. mo. l.,$c716]-<753   > [1956-<1992   >]$e(Tel Aviv :$fDefus "Grafiḳah")
=300  \\$av. <1-5   > ;$c25 cm.
=500  \\$aCover title: Sidur Tselota de-Avraham.
=500  \\$aVol. 3-5 edited by Avraham Ṿerdiger.
=500  \\$aVol. 2 published: [Jerusalem?] : Ṿaʻad le-hotsaʾat ha-sidur Tselota de-Avraham; v. 3-5 published: Yerushalayim : Gal-ʻEd.
=500  \\$aAshkenazic and Sephardic rites are included.
=500  \\$aVol. 3-4 also numbered 1-2.
=505  1\$aḥeleḳ 1. Mekhil tefilat Shaḥarit shel ḥol u-Musaf shel rosh ḥodesh -- ḥeleḳ 2. [without special title] -- ḥeleḳ 3. ʻAl ʻinyene Shabat ḳodesh ṿe-sidur tefilah le-lel Shabat ḳodesh -- ḥeleḳ 4. Sidur tefilah le-lel Shabat ḳodesh -- ḥeleḳ 5. Sidur tefilah le-yom Shabat ḳodesh ṿe-ʻinyene Shabat ḳodesh.
=650  \0$aSiddurim$xTexts.
=650  \0$aJudaism$xLiturgy$xTexts.
=650  \0$aJudaism$xSephardic rite$xLiturgy$xTexts.
=630  00$6880-04$aSiddur.
=700  1\$6880-05$aLandau, Abraham ben Raphael,$d1789-1875.
=700  0\$6880-06$aMenaḥem Mendil Ḥayim,$ca.b.d. ḳ.ḳ. Zaṿyertsye.
=700  1\$6880-07$aṾerdiger, Yaʻaḳov ben Yiśraʾel Ḥanokh,$d1901-1981.
=700  1\$6880-08$aṾerdiger, Avraham.
=730  02$aSiddur (Sephardic).$f1956.
=740  0\$6880-09$aTselota de-Avraham.
=740  0\$6880-10$aSidur Tselota de-Avraham.
=740  0\$6880-11$aShomeʻa tefilah.
=740  0\$6880-12$aSheruta di-tselota.
=880  0\$6130-01/(2/r$aסדור.
=880  10$6245-02/(2/r$aסדור תפלה צלותא דאברהם :$bעל פי נוסח וסדר שהתפלל ... אברהם ... לנדא ... /$cמבורר ע״פ ההלכה והקבלה ע״י ... מנחם מנדיל חיים ... לנדא ונקרא שמו שומע תפלה ... ;  ועליהם נלוה שירותא דצלותא, הערות, הארות ומקורות לתפלה ומנהגיה בהלכה, באגדה ובקבלה מאת יעקב בכ״ר ישראל חנוך ורדיגר.
=880  \\$6260-03/(2/r$a[ח״מ :$bחמו״ל,$c>   [716]-<753   > [1956-<1992$e(תל אביב :$fדפוס ״גרפיקה)
=880  04$6630-04/(2/r$aסדור.
=880  1\$6700-05/(2/r$aלנדא, אברהם.
=880  1\$6700-06/(2/r$aלנדא, מנחם מנדיל חיים.
=880  1\$6700-07/(2/r$aורדיגר, יעקב בן ישראל חנוך.
=880  1\$6700-08/(2/r$aורדיגר, אברהם.
=880  0\$6740-09/(2/r$aצלותא דאברהם.
=880  0\$6740-10/(2/r$aסדור צלותא דאברהם.
=880  0\$6740-00/(2/r$aסידור תפלה צלותא דאברהם.
=880  0\$6740-00/(2/r$aסידור צלותא דאברהם.
=880  0\$6740-11/(2/r$aשומע תפלה.
=880  0\$6740-12/(2/r$aשירותא דצלותא.



---- Additional Comments From wolfgang.heymans@bsz-bw.de 2009-09-01 07:32:54 ----

Created an attachment
OPAC results page with Hebrew fields





---- Additional Comments From wolfgang.heymans@bsz-bw.de 2009-09-01 07:35:13 ----

Created an attachment
OPAC detail page with Hebrew and Cyrillic script





---- Additional Comments From wolfgang.heymans@bsz-bw.de 2009-09-01 07:36:39 ----

Created an attachment
OPAC detail with Japanese script





---- Additional Comments From wolfgang.heymans@bsz-bw.de 2009-09-01 08:55:22 ----

Created an attachment
proposed patch





---- Additional Comments From gmcharlt@gmail.com 2009-09-06 19:10:06 ----

Patch pushed to HEAD.  Please test and close.



---- Additional Comments From wolfgang.heymans@bsz-bw.de 2009-09-18 10:08:27 ----

Created an attachment
follow-up patch for ISO language codes

The original patch assumes that the language code in subfield $6 is a MARC 2-letter language code like '2('. This follow-up considers ISO language codes like 'Hebr' as well when checking for a trailing '/r' marking.



---- Additional Comments From gmcharlt@gmail.com 2010-03-01 16:22:13 ----

Pushed follow-up patch.  Please test and close.



---- Additional Comments From katrin.fischer@bsz-bw.de 2010-03-02 14:09:06 ----

Text alignment works fine now.

There is a small bug with highlighting causing the text to float to the left when clicking on 'Unhighlight' in result lists.

We will submit a patch for this bug soon.



---- Additional Comments From katrin.fischer@bsz-bw.de 2010-03-04 16:01:54 ----

Created an attachment
patch for highlighting bug

proposed patch to fix bug with highlighting: rtl text was always highlighted.



---- Additional Comments From katrin.fischer@bsz-bw.de 2010-03-19 15:14:28 ----

Resent patch for highlighting bug (2010-03-19)



---- Additional Comments From gmcharlt@gmail.com 2010-04-23 11:45:44 ----

Pushed patch to fix the highlighting bug.



---- Additional Comments From katrin.fischer@bsz-bw.de 2010-04-23 19:18:31 ----

Tested succesfully with 3.01.00.128.



--- Bug imported by chris@bigballofwax.co.nz 2010-05-21 01:12 UTC  ---

This bug was previously known as _bug_ 3567 at http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3567
Imported an attachment (id=1429)
Imported an attachment (id=1430)
Imported an attachment (id=1431)
Imported an attachment (id=1432)
Imported an attachment (id=1433)
Imported an attachment (id=1434)

Actual time not defined. Setting to 0.0
The original reporter of this bug does not have
   an account here. Reassigning to the person who moved
   it here: chris@bigballofwax.co.nz.
   Previous reporter was wolfgang.heymans@bsz-bw.de.
The original assignee of this bug does not have
   an account here. Reassigning to the default assignee
   for the component, chris@bigballofwax.co.nz.
   Previous assignee was wolfgang.heymans@bsz-bw.de.
The original submitter of attachment 1429 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1430 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1431 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1432 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1433 [details] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.
The original submitter of attachment 1434 [details] [review] is unknown.
   Reassigning to the person who moved it here: chris@bigballofwax.co.nz.