[Bug 26531] New: "add subfield" macro for Advanced Catalog Editor
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Bug ID: 26531 Summary: "add subfield" macro for Advanced Catalog Editor Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Cataloging Assignee: koha-bugs@lists.koha-community.org Reporter: jvasche@roundrocktexas.gov QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl Like the summary says: It would be great to be able to set up a macro in the Advanced Catalog Editor that would allow one to add/insert a new subfield to an existing MARC field, ex. add 245$h[GMD]. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Andrew Fuerste-Henry <andrew@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew@bywatersolutions.com --- Comment #1 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Do your macro would, say, create an empty $a in whatever field your cursor was when you hit the macro? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 --- Comment #2 from Jason Vasche <jvasche@roundrocktexas.gov> --- (In reply to Andrew Fuerste-Henry from comment #1)
Do your macro would, say, create an empty $a in whatever field your cursor was when you hit the macro?
Yes, or if there was specific text in the subfield it would include that. Maybe something like "add 245=$h[book on CD]" -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 --- Comment #3 from Andrew Fuerste-Henry <andrew@bywatersolutions.com> --- Your example makes it look like you specifically want to add a 245$h with the value "GMD," which is doable now. I can see some utility in being able to add the indicated subfield and value to whatever field your cursor is in. -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Barbara Johnson <barbara.johnson@bedfordtx.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |barbara.johnson@bedfordtx.g | |ov -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 --- Comment #4 from Barbara Johnson <barbara.johnson@bedfordtx.gov> --- I tried out several versions of a subfield macro but they all created a second 245 tag instead of inserting the subfield into the existing 245 tag which is what we would want. I tried it with and without indicators. Maybe this isn't the correct macro format? Macro new 245=‡h[DVD videorecording] indicators=10 Output 245 1 0 ‡aJack and Jill /‡ca novel by James Patterson. 245 1 0 ‡h[DVD videorecording] I think we would use it primarily for a 245|h but could also see using it for a 264|b or 300|b. I think it would be a great addition. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Phil Ringnalda <phil@chetcolibrary.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |phil@chetcolibrary.org --- Comment #5 from Phil Ringnalda <phil@chetcolibrary.org> --- The keyword "new" does exactly that: adds a new one of whatever you specify, whether or not one already exists. The syntax for subfields is "245h", so if you want to change the value of an existing GMD or add a new one if there isn't one currently there, that would be "245h=[videorecording]". If (as you probably don't since 245$h is nonrepeatable) you want to add your subfield even if there is already one with the same subfield code there, rather than changing the value of the existing one, that would be "new 245h=[videorecording]". Both ways, you'll be adding the subfield at the end of the field, which you don't want. Since one of the reasons GMD has been replaced by a fistful of 300s is its annoying variable position either between a and b or between a and c or sometimes between n or p and c, or between n or p and b, and the resulting punctuation troubles, you would need at least two macros, one named something like "GMD no subtitle" that does "new 245h after a=[videorecording] /" and one named something like "GMD with subtitle" that does "new 245h after a=[videorecording] :". What a macro can't help you with is getting rid of the existing : or / that's currently at the end of subfield a. As for things with n and p... I'd just do them manually. So, is this actually a Documentation bug, because the feature already exists but isn't documented, or is there something else missing from the macro language? -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Heather <heather_hernandez@nps.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |heather_hernandez@nps.gov -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26531 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|Cataloging |Documentation -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org