https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5561

Phil Ringnalda <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Phil Ringnalda <[email protected]> ---
Sort of still valid, but not exactly.

At first the feature applied to both MARC21 and UNIMARC, but then it became
UNIMARC only. Janusz wanted the documentation to say that it was UNIMARC only,
but now the documentation no longer exists at all. Which is fine, it was wrong.
At one point you could only have four characters (not three) before and after
the field number and subfield code, but that limit is gone, and it was never
limited to digits, because the whole point was punctuation.

You can see examples by looking at a UNIMARC install, because we actually ship
it by default for UNIMARC. Administration - Authority types, for any type other
than Default look at the Summary column.

It's an attempt at dealing with the fact that UNIMARC tends to use multiple
subfields, and to not put the ISBD punctuation that goes between them into the
authority record. So while a MARC21 authority would have 100$a as "Smith,
Bessie," and 100$d as "1894-1937" and if you just stick them together with a
space between, you get the correct punctuation, UNIMARC would have 200$a
"Smith" 200$b "Bessie" 200$f "1894-1937" so just sticking them together doesn't
look good, or correct, since correct for UNIMARC would be "Smith, Bessie
(1894-1937)".

So in a UNIMARC install the default Summary for Personal Name is the template
"[200a][, 200b][ 200d][ ; 200c][ (200f)]" which says to show 200$a then if
there's a 200$b show it after comma space, then if there's a 200$d show it
after a space, then if there's a 200$c show it after space semicolon space,
then if there's a 200f show it after space ( with a ) after it. That's all
fine, it creates a properly punctuated heading, but it doesn't go far enough,
and nothing stops the default summary that was intended to only be created when
there's no template from showing.

The default summary is a link to the authority details page wrapped around the
heading, followed by (on new lines) see-from, see-also, and other scripts.

The other thing that's untrue in what the former documentation said is "things
outside [] are kept as is (including HTML)" because now we escape anything and
everything, lots of things twice. So you can't imitate the link to details in a
Summary template, and if you want to include see-from, see-also, other-scripts,
and notes, you're going to have to do it all in one run-on line.

And there's also currently no way to hide the default summary even if you could
completely replace it (other than hiding it with CSS, and that may be what
people supporting UNIMARC installs do instead of upstreaming a fix). Once upon
a time, we only built the default one if you didn't have a template, but now we
build them both. And although jcamins did see that showing both was silly, and
he added an "UNLESS ( summary.summaryonly )" block to allow the default one to
be hidden, he must have then realized there wasn't any way to actually replace
it, because he didn't add any code that would ever set summary.summaryonly.

Sorry, I don't know how to distill that down to a manual entry. "If you like
the better punctuated version and can live with having to go to the Actions
menu to get to MARC preview, you might like to have something like
#authorities_searchresultlist_results .authorizedheading { display: none; } in
your IntranetUserCSS and something similar in OPACUserCSS so the unpunctuated
version doesn't show."?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to