Commit Graph

16750 Commits

Author SHA1 Message Date
kados 6eef63f6eb Reverting to last version because the fix I committed breaks tag
repeatability. Note that there is still a problem with the Koha
MARC editor saving blank tags and subfields in a record!
2006-02-25 07:43:49 +00:00
hdl 3815d0351c Bug fixing : Modifying template adapting for prog template format 2006-02-24 13:22:22 +00:00
hdl 3a2ce737dc export.tmpl was not the good one. :) 2006-02-24 12:02:42 +00:00
hdl 77ce82785e changing file according to new directory hierarchy 2006-02-24 11:55:40 +00:00
hdl 833e6bf5b6 Adding tools directory template and scripts
Changing barcodes, export and import and letters directory.
Changing export script name (marc.pl) to export.pl
Changing import script name (breeding.pl) to import.pl
2006-02-24 11:52:38 +00:00
hdl 8bdca884aa pruning files from old directory 2006-02-24 11:22:37 +00:00
hdl d8af689999 Adding admin template files 2006-02-24 11:18:17 +00:00
hdl b810e2d71e changing parameters template directory to admin 2006-02-24 11:15:01 +00:00
bob_lyon 6c5769a5eb Using 'loggedinusername' variable to populate hidden field user 2006-02-23 03:56:09 +00:00
kados af22515d9d Replacing all calls to zebra_update with calls to
z3950_extended_services. More work coming, but it's
working now.
2006-02-22 01:02:39 +00:00
kados d116b9d619 First go at a connection object for Zebra. You can now get a
connection object by doing:

my $Zconn = C4::Context->Zconn;

My initial tests indicate that as soon as your funcion ends
(ie, when you're done doing something) the connection will be
closed automatically. There may be some other way to make the
connection more stateful, I'm not sure...
2006-02-22 00:56:59 +00:00
rangi d7b8437e1b Using get_record() from Search.pm
Not ready for production, its just set to always use the default framework at the moment
2006-02-21 00:12:26 +00:00
rangi f4ab73fff2 Using get_record() from C4::Search now (ie fetching the record from zebra) 2006-02-21 00:11:06 +00:00
rangi e18c22dd80 This probably will be the same file as the one in unimarc, so perhaps might be best to move them out and just into the zebra dir.
Committing now so its not lost
2006-02-21 00:10:16 +00:00
rangi 6edaf7bbe7 get_record works now 2006-02-21 00:08:41 +00:00
tipaul cba7e167c8 adding a link to viewlog.pl (log viewer) 2006-02-20 14:37:47 +00:00
tipaul f54229407c templates for log viewer 2006-02-20 14:36:16 +00:00
kados 61cf07ba94 typo 2006-02-20 14:22:38 +00:00
kados 25eb0edc78 A new subroutine to handle Z39.50 extended services. You pass it a
connection object, service type, service options, and a record, and
it performs the service and handles any exception found.
2006-02-20 13:26:11 +00:00
thd 761c2df358 Fix for refresh error from HDL. 2006-02-18 10:07:29 +00:00
tipaul 6a3baa80da forcing utf8 communications between perl & apache 2006-02-17 15:28:55 +00:00
tipaul 12aad23e9f removing set names=UTF8, seems useless. Still investigating mysql-perl-utf8 2006-02-17 15:25:59 +00:00
rangi 3d5d00b463 Little test set up that lets you type cql in which is passed to zebra
install search-test.pl on your opac (or the intranet, if intranet youll need to put the tmpl file in the intranet too)


NOT FOR PRODUCTION, purely for testing
2006-02-16 20:51:07 +00:00
kados 88d6a12e17 destroy a connection after we're done -- we really should just have one
connection object and not destroy it until the whole transaction is
finished -- but this will do for now
2006-02-16 20:49:56 +00:00
rangi 5eed2d6605 Trying to error trap a little more. 2006-02-16 19:47:22 +00:00
thd 7bf048e8a8 Quick fix for functional bug in getMARCsubjects to avoid returning values that
vary between different uses of the same authorised subject heading causing
linked subject searches from the detail view to fail.  Other presentation fixes
within getMARCsubjects.
2006-02-16 03:12:15 +00:00
kados a1d59e6633 New MARC21 collection.abs based on marc21.abs 2006-02-16 00:46:10 +00:00
rangi 810cbd36de fixing broken link 2006-02-15 03:16:17 +00:00
rangi 3f042af791 Can now add an item 2006-02-15 03:14:53 +00:00
rangi 614708756f Removing reference to acqui.simple 2006-02-15 02:20:01 +00:00
rangi 3cb9cf08a3 Changing to get the template from the right directory 2006-02-15 02:18:28 +00:00
rangi 1d5d73557a Putting this in the right place 2006-02-15 02:17:56 +00:00
rangi 24a52ae566 Back to using xml, a much better idea :) 2006-02-14 22:56:41 +00:00
kados 1f2014e73f Fixing zebra.cfg for usmarc 2006-02-14 22:49:44 +00:00
kados 2017a41f0b adding some config stuff for usmarc 2006-02-14 22:49:08 +00:00
kados 27cf7a36ba adding a 'use ZOOM' to biblio.pm, needed for non-mod_perl install.
also adding diagnostic error if not able to connect to Zebra
2006-02-14 21:36:03 +00:00
rangi 318ac26cf6 Just a little missing my
Seems to be working great Paul, and I like what you did with zebradb
2006-02-14 19:53:25 +00:00
tipaul ff0508c4d2 road to 3.0 : updating a biblio in zebra seems to work. Still working on it, there are probably some bugs ! 2006-02-14 11:25:22 +00:00
tipaul b69a6736cb (chris, read carefully)
Replacing zebraserver and zebraport by zebradb in koha.conf . The zebra connexion can be done in a single variable "server:port/database". I used this in dirty searchMarc.pm as well as in Biblio.pm. I've replaced your code in Search.pm
2006-02-14 11:23:38 +00:00
tipaul e16ded6012 fixing bugs for :
* search on 2 words "applied chaos"
* retrieve results when there's only 1 answer
(still dirty & to be rewritten by chris, but it's useful for me)
2006-02-14 10:54:02 +00:00
rangi cdfb9d9acb Work in progress still, committing for testing 2006-02-14 04:00:23 +00:00
rangi 85fba5d72f Just a little fix while im testing 2006-02-13 23:52:04 +00:00
rangi c2debcf509 Start of the complete rewrite of Search.pm
It just does a simple cql search at the moment, takes a hashref of keyed by variable.
I have introduced 2 new variables to koha.conf
zebraserver and zebraport Ill add to the installer to get these set.
Very very very much a work in progress still. Thanks to paul for getting things up to this point.
2006-02-13 21:03:21 +00:00
tipaul bcbcb9a57c adding some templates I forgot to commit (module sub menus) 2006-02-13 16:39:33 +00:00
tipaul 56a55bd4cb some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing

+code cleaning (using biblionumber standard API name)
2006-02-13 16:38:29 +00:00
tipaul 804d630bd1 adding detail templates in cvs, in their new catalogue directory 2006-02-13 16:37:57 +00:00
tipaul a4d86bfa6c cleaning code (useless use C4::) 2006-02-13 16:36:48 +00:00
tipaul 040dbceb73 some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
2006-02-13 16:35:37 +00:00
tipaul 685f77f4c2 fixing some warnings (perl -w should be quiet) 2006-02-13 16:34:26 +00:00
rangi 89eff456a2 Just getting rid of some annoying warnings 2006-02-09 21:34:51 +00:00