[Koha-bugs] [Bug 22509] Add a script to generate MARC fields containing date formatted strings

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat May 11 18:45:36 CEST 2019


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

Katrin Fischer <katrin.fischer at bsz-bw.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #15 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I think what Hugo is referring to with the hierarchical facets is this:

https://vufind.org/wiki/configuration:facets

So it seems that VuFind can build hierarchical facets on all values that are
concatenated with / and an ending /. So the 'relationship' to VuFind is there,
but it's not very strong :)

This script is more general as it allows to add arbitrary formatted date
information to any MARC subfield. But it's also a bit limited, as it will use
today's date.

I have some notes:

1) The misc directory is already a bit chaotic. I would suggest to move this
into a new directory in misc where we could keep such scripts in the future.
Maybe something like: marc_tools, data_manipulation, marc_manipulation ?

2) If I pass nothing in, the script is run in dry mode. I think it would be
better to display the help, since the needed parameters to actually do
something are missing.

3) When I run it with -h it advertises:
perl add_date_fields_to_marc_records.pl --help 
But the help displayed doesn't explain the options like it's supposed to
looking at the script itself.

Can you please take a look at fixing the help?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list