Commit graph

30 commits

Author SHA1 Message Date
tipaul
fe8746a471 * moving prepare / execute to ? form.
* some # cleaning
* little bugfix.
* road to 1.9.2 => acquisition and cataloguing merging
2003-02-27 16:51:59 +00:00
tipaul
bd9239fee1 removing unused sub 2003-02-10 13:37:08 +00:00
tipaul
d8c2e556ce fixing a sql query not using prepare(?) & execute($var) method 2003-01-28 14:53:30 +00:00
arensb
aa3a88a76c Added and updated some FIXME comments. 2002-10-16 12:44:25 +00:00
arensb
fddab26c2e Deleted unused variables.
Removed trailing whitespace.
2002-10-13 08:27:49 +00:00
arensb
668b558887 Fixed FIXMEs.
Removed reference to Perl in POD. It should be obvious.
2002-10-10 04:33:25 +00:00
arensb
dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
arensb
048d545d11 Added some FIXME comments, mostly marking duplicate functions. 2002-10-01 11:48:51 +00:00
arensb
ca2aba8788 Added POD.
Removed unnecessary trailing whitespace.
2002-09-23 13:52:38 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
tipaul
528f1b2b80 Long is the road to MARC..
Not related to MARC :
* removed HLT- empty link when no basket for a supplier (should be useful to copy this into rel-1-2 i think)
* fixed some "use of uninitialized value"
related to MARC
* changed use Acquisition to use Catalogue, new package for MARC management

For instance, nothing is done to MARC DB, but structure is modified (see Biblio.pm for details), and everything seems to work : it's still possible to use acqui, and it fills old-DB pretty good.

WARNING : if you work on main trunk, please note Acquisition.pm is NO MORE USED in /acqui/ system. Every sub in Acquisition.pm has been moved to Biblio.pm or Catalogue.pm.
2002-07-04 15:53:02 +00:00
tipaul
3d7df52b0d Going to MARC 1.4...
0- Requires MARC::Record from cpan to work

1- divided Catalogue.pm in 2 parts :
Biblio.pm ,that contains biblio management
Catalogue.pm, that contains acquisition management.
When ended, they will replace the Acquisition.pm package

2- Created MARCxxx functions :
* MARCgetbiblio : retrieves a MARC::Record from the bibid passed in parameter (working, see test.pl script)
* MARCaddbiblio : creates a MARC-DB entry, for a MARC::Record given as parameter. (working)
* MARCmodsubfield : modifies a subfield for a given subfieldid
* MARCfingsubfield : retrieves a subfieldvalue from a bibid/tag/subfield
* MARCaddsubfield : adds a subfield to biblio into the DB
* MARCkoha2marc : builds a MARC::Record, given a biblionumber, a biblioitemnumber and/or an itemnumber. (working).


TODO :
A lot ;-))))
For instance, you can create only a MARC-DB entry from a old-DB entry. Note some questions are still to solve around bibid (old-DB/MARC-DB)...
2002-06-14 16:47:33 +00:00
tipaul
503066d538 MARC stuff : beginning to use MARC::Record package. 2002-06-10 20:49:54 +00:00
tipaul
56d4ac55a7 today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net) 2002-06-06 16:23:36 +00:00
tipaul
0595587f93 test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
2002-06-04 16:08:47 +00:00
tonnesen
02fc6654ec Started modifications to match new marc schema 2002-05-29 22:47:20 +00:00
amillar
7c65ea04c5 Some cleanup, reformatting, fix some undeclared variables 2002-05-18 07:01:27 +00:00
tonnesen
86c0d5ce87 Few more changes... not much to look at yet, still wrapping my head around the
new schema
2002-05-16 23:08:05 +00:00
tonnesen
3437472f27 Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote.  :)
2002-05-16 18:10:35 +00:00
tonnesen
0ac91af069 Working out problems with MARC record support. 2001-11-06 18:15:34 +00:00
tonnesen
07e2e3780a Minor cleanups. Needs testing. Starting to think about modifying
updatebiblio.pl to use this API.
2001-11-03 07:29:36 +00:00
tonnesen
33ab2526f3 Changed search interface to allow searches on Illustrator. This is
apparently a common search in elementary school libraries.
2001-10-05 20:13:20 +00:00
tonnesen
1e2d6c40c3 Tested updateItem subroutine, made some better checks for Subfield_IDs and
Subfield_Keys when modifying MARC data based on changes to Koha data.
2001-09-27 20:39:59 +00:00
tonnesen
245d7a8adc Started on updateItem subroutine. 2001-09-27 19:24:18 +00:00
tonnesen
b179127d7c Finished updateBiblioItem subroutine 2001-06-26 22:27:12 +00:00
tonnesen
6269ad87bf newBiblio subroutine completed. 2001-06-26 21:13:01 +00:00
tonnesen
aab6b66555 Added biblioitems table update when newBiblioItem() routine is called. 2001-06-26 20:17:35 +00:00
tonnesen
3f3ae4cda2 Beginning updateBiblio routine. 2001-06-26 17:15:13 +00:00
tonnesen
6650354d23 Added skeletons of update routines. 2001-06-25 19:43:59 +00:00
tonnesen
58b7c86d13 Cataloguing API. Very early draft at this point. 2001-06-25 18:49:34 +00:00