From bugzilla-daemon@bugs.koha-community.org Mon Sep 16 17:13:58 2024
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 37933] New: No space between title and medium
Date: Mon, 16 Sep 2024 15:13:57 +0000
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1133798160128382798=="
--===============1133798160128382798==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37933
Bug ID: 37933
Summary: No space between title and medium
Change sponsored?: ---
Product: Koha
Version: Main
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Templates
Assignee: oleonard@myacpl.org
Reporter: caroline.cyr-la-rose@inlibro.com
QA Contact: testopia@bugs.koha-community.org
There is no space between the title and the medium. I've only seen this in the
heading on the bookings list page, but I think the problem is in
biblio-title-head.inc, so it could pop up elsewhere.
To replicate:
1. Find a biblio record
2. Edit the record to add 245$h (in MARC21)
Optionally reorder the title subfields in this order a, n, p, h, b, c; the
slash should also go at the end of 245$h
3. Go to the items tab on the left
4. Change Bookable to Yes and update
5. Go to the bookings tab on the left
--> There is no space between the title and the medium
6. Go to the holds tab on the left
--> Spacing is OK
--
You are receiving this mail because:
You are watching all bug changes.
--===============1133798160128382798==--
From bugzilla-daemon@bugs.koha-community.org Tue Sep 17 05:27:56 2024
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 37933] No space between title and medium
Date: Tue, 17 Sep 2024 03:27:55 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============7091393331812902920=="
--===============7091393331812902920==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D37933
Phil Ringnalda changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |phil@chetcolibrary.org
--- Comment #1 from Phil Ringnalda ---
That janky title is all over the place, holds queue and holds to pull,
element for detail.pl and MARCdetail.pl, and in the body for ISBD, ci=
rc
history, place hold...
I never actually noticed the lack of a space, because to a cataloger the way =
it
just jams subfields in out of their proper order without doing anything about
the punctuation stands out far, far more. "Title. [GMD] / Season two" looked =
at
with cataloger eyes is horrifying, never mind the lack of a space.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============7091393331812902920==--
From bugzilla-daemon@bugs.koha-community.org Tue Sep 17 15:32:36 2024
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 37933] No space between title and medium
Date: Tue, 17 Sep 2024 13:32:35 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============8511937803796006917=="
--===============8511937803796006917==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D37933
--- Comment #2 from Caroline Cyr La Rose -=
--
Yes the order was bothering me too tbh... The $n after the $h is very weird to
me. But I don't know enough about subfield order to propose something. I had a
short conversation with Heather on that subject on Mattermost
https://chat.koha-community.org/koha-community/pl/gg9m75e443grmdxutduqqkthcw
The best way the title and its subfields are handled is in detail.pl, but that
is done with XSLT, not TT, so I don't know if it is possible to do it like th=
at
with TT.
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============8511937803796006917==--
From bugzilla-daemon@bugs.koha-community.org Wed Sep 25 22:34:12 2024
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 37933] No space between title and medium
Date: Wed, 25 Sep 2024 20:34:11 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0104908157451051927=="
--===============0104908157451051927==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D37933
Phil Ringnalda changed:
What |Removed |Added
----------------------------------------------------------------------------
Depends on| |11529
--- Comment #3 from Phil Ringnalda ---
Well, it was possible to do it like detail.pl and we did, but as bug 11529
noted, it was expensive.
And alas, that bug made the wrong choice, and rather than stick
biblio.complete_title in the database it decided to jam in all the parts
individually and then reassemble them without looking at the directions, which
works fine if you only have two or three parts and there's only one way they
can go together.
There's absolutely no way to avoid the fact that that approach will turn some
titles into a hopeless muddle: with parallel titles with part names and numbe=
rs
translated, you will have $aPhil's cataloging rants.$pTitles.$nPart 3 =3D$bLas
diatribas sobre catalogaci=C3=B3n de Phil$pT=C3=ADtulos$nParte 3 / which won'=
t be
reassembled well as Phil's cataloging rants.Las diatribas sobre catalogaci=C3=
=B3n de
Phil.Part 3 =3DTitles.Parte 3 /T=C3=ADtulos
We don't have a great track record with stripping and replacing punctuation,
but possibly the simplest cases could be made a little better by stripping
trailing ".", " :", and " /", and then for everything after title putting in
the punctuation and spaces we think should go before it, based on the previous
thing. Maybe. We've absolutely lost the game if anything ends with " =3D" so =
I'm
not sure what we could do there.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=3D11529
[Bug 11529] Add subtitle, medium and part fields to biblio table
--=20
You are receiving this mail because:
You are watching all bug changes.
--===============0104908157451051927==--
From bugzilla-daemon@bugs.koha-community.org Thu Sep 26 03:41:57 2024
From: bugzilla-daemon@bugs.koha-community.org
To: koha-bugs@lists.koha-community.org
Subject: [Koha-bugs] [Bug 37933] No space between title and medium
Date: Thu, 26 Sep 2024 01:41:56 +0000
Message-ID:
In-Reply-To:
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6999210835121307645=="
--===============6999210835121307645==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37933
--- Comment #4 from Phil Ringnalda ---
As to the question of where $h belongs, that's not actually prescribed by MARC
despite it mentioning the where a couple of times, but by AACR2, which wasn't
ever online and is out of print. Happens I have a copy, though.
GMD follows the "title proper," which by and large means after $a$n$p. That's
what MARC says too, "It follows the title proper (subfields $a, $n, $p) and
precedes the remainder of the title ($b)"
But, that's MARC21. biblio-title-head.inc clearly supports UNIMARC too, with
multiple subtitles, separated by commas in UNIMARC (and MARC21 doesn't support
multiple subtitles, $b isn't repeatable).
Ignoring the UNIMARC question, best for MARC21 would probably be biblio.title,
part_numbers.[0], part_names.[0], biblio.medium, biblio.subtitle,
part_numbers.[1-n], part_names.[1-n]. There are still a lot of things that
would mess up, but I can't think of any where it's at all possible to get them
right.
--
You are receiving this mail because:
You are watching all bug changes.
--===============6999210835121307645==--