[Koha] Suppress biblios
Elaine Bradtke
eb at efdss.org
Wed Mar 2 01:34:49 NZDT 2011
Thanks, that'e very useful!
On Mon, Feb 28, 2011 at 1:47 PM, LAURENT Henri-Damien
<henridamien.laurent at biblibre.com> wrote:
> 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
>>
>
> _______________________________________________
> Koha mailing list http://koha-community.org
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
>
--
Elaine Bradtke
Data Wrangler
VWML
English Folk Dance and Song Society | http://www.efdss.org
Cecil Sharp House, 2 Regent's Park Road, London NW1 7AY
Tel +44 (0) 20 7485 2206 ext 36
--------------------------------------------------------------------------
Registered Company No. 297142
Charity Registered in England and Wales No. 305999
---------------------------------------------------------------------------
"Writing about music is like dancing about architecture"
--Elvis Costello (Musician magazine No. 60 (October 1983), p. 52)
More information about the Koha
mailing list