Le 20/09/2013 18:15, Galen Charlton a écrit :
Hi,

On Fri, Sep 20, 2013 at 9:05 AM, Mathieu Saby <[email protected] <mailto:[email protected]>> wrote:

    I have a project about making more easy to hide/unhide records on
    the OPAC (without having to edit the record in cataloguing mode).
    http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9778
    In the discussion with Fridolyn Somers, the idea of creating first
    a new column in biblio table for storing the "OPAC visibiliy"
    status appeared.
    It is not *stricty *needed but I imagine it could be used by other
    enhancements later.

    The issue is that there no field used universally in UNIMARC for
    storing the visibility information (for ex. in our library we have
    a non standard field for that, so our Zebra record.abs is specific
    for this point).:-(
    So to take advantage of this change, libraries (maybe only Unimarc
    libraries?) which will upgrade to 3.14 will need
    - to map their frameworks with the new field in sql database, so
    that Koha could know which MARC field is used to store the
    information.
    - then, to run a script - once for all - for updating this new
    field in sql database

    As it will imply manual operations after upgrade, I wanted to get
    the opinion of the RM fist.
    So, Galen, have you got some objections or comments?


I think adding a column to the biblio table to express OPAC visibility is a good idea.

To my knowledge, MARC21 and NORMARC libraries who use OPAC visibility all use the same subfield, 942$n, so updating the frameworks for those installations could be fully automated. It might be possible to do the same for UNIMARC installations; since an (unmodified) Koha system always uses the "Suppress" CCL keyword to exclude suppressed records, parsing the active Zebra configuration files would indicate which subfield was being used.

I was wondering if a script launched by updatedatabase.pl will always have rights to access to directory where the /etc/zebra/... will be stored? Excuse me if it is a stupid question...
Is it stored in the environment variable $KOHA_CONF_DIR ?



Other tables could benefit from a visibility column as well -- namely branches and items -- but that of course could be added later

Regards,

Galen
--
Galen Charlton
Manager of Implementation
Equinox Software, Inc. / The Open Source Experts
email: [email protected] <mailto:[email protected]>
direct: +1 770-709-5581
cell:   +1 404-984-4366
skype:  gmcharlt
web: http://www.esilibrary.com/
Supporting Koha and Evergreen: http://koha-community.org & http://evergreen-ils.org


--
Mathieu Saby
Service d'Informatique Documentaire
Service Commun de Documentation
Université Rennes 2
Téléphone : 02 99 14 12 65
Courriel : [email protected]

_______________________________________________
Koha-devel mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to