[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 21:50:53 CEST 2019


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

--- Comment #19 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
(In reply to Katrin Fischer from comment #18)
> (In reply to Jonathan Druart from comment #17)
> > (In reply to Katrin Fischer from comment #15)
> > 
> > Thanks Katrin for taking a look at this one.
> > 
> > POD (2 and 3) fixed.
> > 
> > About the path I would prefer to let the RM pick the correct location. IMO
> > it will be weird to have only this script in a new directory.
> 
> I think starting with one would be ok, we have to start somewhere. And
> moving them later is more painful for people, as they have to fix their
> paths.

Leaving this to the RM indeed :)

1) Can you add a usage example for the WHERE condition? I tried:

./add_date_fields_to_marc_records.pl --where 'biblionumber <10'
--field='245$a=1/test/%Y/%b-%m'

It should tell which table is queried. It also feels a little odd that it seems
like you have to enter --where 'where...'? It seems the where argument on
rebuild_zebra.pl works without.

2) The use of unless-exists was not clear to me from the description, I think
an example below the option description would be helpful too.

Apart from documentation this seems to work fine. If you update that, I am
willing to PQA :)

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


More information about the Koha-bugs mailing list