Thanks for the reply but now i
have the answer for KOHA 3.2 :
1 . In system preferences, search for OPACUSERJS, and add the following code :
$(document).ready(function(){
$("#masthead_search").append("<option value=\"bc\">Barcode</option><option value=\"bit\">Biblio item number</option>");
});
2 . Go to
koha/etc/zebradb/biblios/etc/bib1.att
3 . Check or add these lines :
att 8023 barcode
[...]
att 9002 biblioitemnumber
4 . Go to koha/etc/zebradb/marc_defs/marc21/biblios/record.abs
5 . Check or add these lines :
melm 952$p barcode,barcode:n
[...]
melm 999$d biblioitemnumber:n,biblioitemnumber:w,biblioitemnumber:s
6 . Go to koha/etc/zebradb/ccl.properties
7 . Check or add these lines :
barcode 1=8023
bc barcode
[...]
biblioitemnumber 1=9002
bit biblioitemnumber
8 . Rebuild Zebra in command line
cd /src/misc/migration_tools
./rebuild_zebra.pl -b -a -r
9. Done
Test with :http://[your.site]/cgi-bin/koha/opac-search.pl?q=ccl=bc:12345
In ccl.properties, do you have bc and barecode ?On 06/08/2010 10:55, Tomas Cohen Arazi wrote:
2010/8/6 Brice Sanchez <brice.sanchez@sys-tech.net>:Thanks for your answers : The barcode works if i put it directly in the search box. but bc:12345, bc:'12345', http://[your.site]/cgi-bin/koha/opac-search.pl?q=ccl=barcode:12345 doesn't works on my Koha, i need to find why?Are you using Zebra? bc is a zebra index as far as I know. To+
_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
--
Fridolyn SOMERS
Information and Communication Technologies engineer
Lyon - FRANCE
fridolyn.somers@gmail.com