[Koha] Suppress biblios

LAURENT Henri-Damien henridamien.laurent at biblibre.com
Tue Mar 1 02:47:28 NZDT 2011


Le 28/02/2011 13:52, Vitor Fernandes a écrit :
> Hi,
> 
> Frédéric and remaining community, there is anyway to list only the
> records that are suppressed in the OPAC?
> The advanced search does not allow to search by XML field and subfield...
> 
> Regards.
> Vitor Fernandes
search for suppress=1 in the search box at intranet
Or use the extractvalue function in mysql 5.1 which allows to search for
a subfield in marcxml SELECT * from biblioitems where
extractvalue(marcxml,'//record/datafield[@tag=998]/subfield[@code=q]') = 123

Hope that helps.
-- 
Henri-Damien LAURENT
> 
> 2011/1/28 Vitor Fernandes <vitorfernandes87 at gmail.com>:
>> Thanks for the help Frédéric,
>>
>> The problem was exactly in the mapping of zebra index...
>> Now it works fine.
>>
>> Regards.
>> Vitor Fernandes
>>
>> 2011/1/28 Frédéric Demians <frederic at tamil.fr>:
>>> Hello Vitor,
>>>
>>>> I'm using UNIMARC which doesn't have the field 942$n, so i've created
>>>> it with the default value 0.  Then I've created one biblio record,
>>>> where the field 942$n was changed to 1.
>>>
>>>> I've read that the Zebra must do suppress index, but how I can
>>>> activate it? I'm doing something wrong? For example UNIMARC field for
>>>> suppress can be another field than 942$n?
>>>
>>> MARC21 Zebra configuration coming with standard Koha has defined an
>>> index for this field. UNIMARC Zebra configuration hasn't. Take a look
>>> at:
>>>
>>>  etc/zebradb/marc_defs/marc21/biblios/records.abs
>>>
>>> You will find the line which defines the Suppress index:
>>>
>>>  melm 942$n      Suppress:w,Suppress:n
>>>
>>> You must add an equivalent line in:
>>>
>>>  etc/zebradb/marc_defs/unimarc/biblios/records.abs
>>>
>>> Rather that adding a new tag to UNIMARC framework, you can add a
>>> subfield to an existing one: 915$n for example. So you should add:
>>>
>>>  melm 915$n      Suppress:w,Suppress:n
>>>
>>>
>>> --
>>> Frédéric
>>>
>>>
>>
> _______________________________________________
> Koha mailing list  http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list