Commit Graph

8580 Commits

Author SHA1 Message Date
tonnesen 264b8f0093 Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings 2002-06-20 20:10:08 +00:00
tonnesen 6897cec04d Most of these merges are just removing unused parts of the perl modules. 2002-06-20 18:56:52 +00:00
tonnesen d3af19dcb2 Are we getting sick of merging yet? Not me! 2002-06-20 18:04:45 +00:00
tonnesen 29b4d2d534 merges from rel-1-2. Starting to get a little longer now. Being very
careful.
2002-06-20 17:57:11 +00:00
tonnesen cb7441a537 More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
2002-06-20 17:33:07 +00:00
rangi 78c976aa0f issues printing issue slips again 2002-06-18 22:46:59 +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
rangi 49e2b90a8b Fix to get list of overdue items showing correctly 2002-06-13 03:16:55 +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
finlayt c3820fa998 fixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
2002-06-06 04:15:18 +00:00
finlayt 89026ec754 Changed the issuebook routine to use the new methods from C4::Reserves2.pm 2002-06-06 02:48:53 +00:00
finlayt 0e69a3906e improved all the code so that priorities are reset properly. 2002-06-06 02:47:53 +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
finlayt a6dd1bcf44 Changed the returnbook method to use CheckReserves instead of FindReserves. 2002-05-29 05:52:12 +00:00
finlayt 970081fb49 Some small changes in transferbook: uses the new Reserves2.pm methods. 2002-05-29 04:40:15 +00:00
finlayt 7d603978ed Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
2002-05-29 04:39:12 +00:00
amillar 7ebbc8311d Added "lccn" and "marc" fields to newbiblioitem 2002-05-23 22:59:37 +00:00
truth_nz cc840a7bfa Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
2002-05-22 18:35:25 +00:00
amillar 549677ee1b Fix typo in booksellerid field name 2002-05-21 06:19:48 +00:00
amillar 3b184ab85d Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
2002-05-21 06:15:41 +00:00
rangi 9775fedd9b Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
2002-05-21 01:17:44 +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
truth_nz cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
rangi 1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
rangi 171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +00:00
tipaul 64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +00:00
tonnesen b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +00:00
tipaul c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00
tipaul c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz 0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz 4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi 05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
truth_nz 3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
rangi 3d854d01ef Making the CatSearch and KeywordSearch return more sane returns
Returns an array of hashrefs now, rather than the array of tab separated
strings it was returning before.
2002-05-07 00:08:20 +00:00
rangi c0fc669126 Removing keywordsearch2 (no longer used)
Fixing glitches in counting lost items.
In items
itemlost=1 item marked lost by a librarian
itemlost=2 item marked lost by kohas automatic this item is over 4 weeks
overdue routine.

To the borrowers (ie in the opac) they should just show as lost
2002-05-06 23:12:25 +00:00
finlayt fe88c2a022 Removed the "Item has been transfered" message from the returnbook2
subroutine.
2002-05-06 04:36:42 +00:00
finlayt ca7a9d7264 Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
2002-05-06 04:30:37 +00:00
truth_nz 073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
finlayt 9255f92b21 moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing
2002-05-02 00:08:53 +00:00
rangi 8ea1f94eb7 Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module
2002-04-30 09:21:03 +00:00
truth_nz 47c18cfcdc Modifications for new acqui.simple
Database includes new biblio abstract field and biblioitem url field
acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm
2002-04-29 05:25:41 +00:00
finlayt 4ecb80c5f2 Fixed typo 2002-04-23 00:34:16 +00:00
finlayt d239497209 fixed typo 2002-04-22 22:47:09 +00:00
rangi 9144d67850 Fixing bug reported by Steve,
Couldnt remove an additional Author when modifying a biblio
2002-04-21 06:33:32 +00:00
saas ffc98bebe4 Correct spelling - aquisitions to acquisitions 2002-04-21 04:45:21 +00:00
pate 214257b1d8 starting to move ethnicity stuff out of programs and into modules 2002-04-17 21:35:53 +00:00
pate 2409d7fe90 moved ethnicity fixing out of moremember.pl into a function,
eventually to replace with a more configurable version (non-NZ specific)
2002-04-15 16:15:38 +00:00
truth_nz e1d7a81197 Acquisitions::newbiblioitem updated to be usable for new acqui.simple
addorder.pl and updatebibitem.pl modified to use new newbiblioitem
2002-04-15 05:33:33 +00:00
rangi b3375469e3 Fixing the subject search i broke ;) 2002-04-10 09:55:17 +00:00
rangi 132835283a Working on a fix to speed up title and author searches 2002-04-10 07:59:28 +00:00
truth_nz 51ee67d237 Altered newbiblio to be more generic - so can use with new acui.simple
scripts (which are not finished yet).
2002-04-10 05:49:17 +00:00
pate 0376493cd4 refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.
2002-04-08 23:44:43 +00:00
rangi 3eecf2956e Deals with lost book charges now 2002-03-17 02:58:00 +00:00
finlayt 314e80a9e9 Added a transferbook subroutine that is called from /circ/branchtransfers.pl
It writes a new line in the branchtransfers table and changes the
currentbranch field in items.
2002-03-13 21:13:42 +00:00
rangi c2eb80ce60 Tidy up, removing deprecated routines 2002-03-13 07:36:49 +00:00
rangi 204ff647f3 Getting Iteminfo in Search to only display correct reserves (mainly used on
detail.pl) and another typo fix in moremember.pl
2002-03-13 03:26:43 +00:00
rangi 5849a03b30 Fix so that reserves are only showing for the biblioitem not the biblio on
the moremembers screen
2002-03-13 02:03:56 +00:00
rangi 0b9ab3723f Fix for manual invoices 2002-03-11 03:36:41 +00:00
rangi 0f23c6e75d Fixed apostrophe ' handling 2002-02-26 09:31:14 +00:00
rangi 8e8455789f Making a "fix" to normal title search 2002-02-20 21:05:19 +00:00
rangi bbb2008246 Playing with keyword search trying to speed it up more 2002-02-20 20:53:29 +00:00
rangi 4c20707e76 Fixing bug in subject searching that was causing subjects with ' to break
the search
2002-02-12 21:31:41 +00:00
rangi a9f5a8b858 Fixing bug that was duplicating additional authors, and a bug that was
breaking the updating classicification field
2002-02-12 21:07:21 +00:00
rangi 1a3d705dab Added the facility to restrict a keyword search by dewey number 2001-12-12 02:31:28 +00:00
rangi bb7b308682 Fixing error in keyword search (fixing my mistake from yesterday) 2001-11-27 02:01:39 +00:00
rangi 8ad078f97e Fixing a bug in keyword search was duplicating results 2001-11-26 04:33:42 +00:00
rangi e21914e425 Added a findguarantor routine to search for the guarantor of a given borrower.
Probably it and findgurantees need to moved out to borrowers.pm
2001-11-26 00:41:34 +00:00
rangi 7a7465fe05 Author combined with Title search was not searching the series title field
Fixed now
2001-11-25 22:25:55 +00:00
rangi 79ebd030d6 Fixing reserve handling.
Mulitple copy reserves now handled correctly, and correct charges are being
applied
2001-11-25 20:17:53 +00:00
rangi 501cc61c85 Adding the facility to search on just dewey and class 2001-11-23 02:12:48 +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 aa97d73b39 Typo in printf format string was causing all issues to appear in the
Previous issues box and not in today's issues.
2001-10-10 19:28:05 +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
rangi 89cbfd3cd0 Fixing a glitch that was showing the biblio notes field where the
biblioitems notes should have been displaying
2001-09-10 23:37:09 +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
rangi c74ad16d2e Made a little change to allow the reading record to be sorted, and now
defaults to the last 50 items borrowed
2001-06-20 03:36:01 +00:00
rangi 2dc62d4bc4 More little bug fixes in the manual credits section 2001-05-15 23:05:43 +00:00
rangi 9eee24c9a2 Changed the way a lost book being returned is handled.
If the book has already been paid for a credit is added to their account.
And offset against any current charges
2001-05-09 23:29:00 +00:00
rangi a254455342 Added facility to do a cash refund.
Also HLT allows ppl to work off their bill,so added a facility to do manual
credit for that
2001-05-09 23:22:10 +00:00
rangi f72283e23f Renewing a rental or pay item from the borrowers record screen
Now adds a charge to the borrowers account
2001-05-09 00:05:57 +00:00
tonnesen 91ac7223f6 Steve Tonnesen's K12Admin-specific (for the time-being) group based
overdue reports.
2001-05-02 23:06:44 +00:00
tonnesen 3fd3b300c4 Added an overdue variable to the itemdata returned by the currentissues
subroutine.  This makes it easier to pick out overdue items in other
modules (ie circulation, reports, etc.)
2001-05-02 22:38:26 +00:00
rangi 4680c9e98a Fixed the code that adds a credit or wipes a lost book charge from a
borrowers account if said book is returned
2001-05-02 21:15:22 +00:00
rangi 462acc56e4 Added functions to add credits and invoices to borrowers account 2001-05-02 21:13:15 +00:00
rangi 8f0109b7c8 Fixed a bug in the return lost routine (when a payment is made on a lost item)
So that the correct date was being recorded
2001-05-01 23:24:50 +00:00
rangi 5f8d3937df Add functionality so that when the replacement cost of a lost item is paid
Its returned off the members/patrons card. And a note is placed on the item
saying that its been paid for.
The item stays marked as lost. But the patron does not accrue more fines
2001-04-18 02:51:18 +00:00
rangi b2c9dabcf1 Making a change to the way charges are handled, the system originally worked such that if a borrower owed more than $5 issues werent allowed. This worked fine except that often borrowers wish to borrows say 3 pay videos at $2 each, then 2 books say. The three pay videos rack up charges of $6 and then they cant issue the books until that is paid.
Reworked so that it cares about previous charges, not the ones accrued during current issue process.
2001-04-03 21:32:37 +00:00
rangi fb870fb2c8 Reworking statistics for payments and writeoffs 2001-04-02 22:51:26 +00:00
rangi fe1fab2ab5 Reworked layout of issues section. 2001-03-28 02:23:03 +00:00
rangi e295b51570 Modified the update stats routine to store borrowernumbers also
Passing borrowernumbers to update stats from Account routines
2001-03-27 21:43:37 +00:00
rangi 53f147a340 Added functionality to allow invalid itemtype to be fixed 2001-03-15 10:15:51 +00:00
rangi 4d35327d19 Got undeleting biblios going (catalogue maintenance should probably be in a
password protected super librarian area or the like)
2001-03-13 22:04:04 +00:00
rangi 6bd59eeef7 Little fix to the returnbook routine so the correct branchcode is passed to the updatestats routine 2001-02-18 22:13:26 +00:00
rangi de38567887 Made some changes to checkreserve and find_reserves, so that items are always displayed as reserved when returned, not just once 2001-02-14 00:27:36 +00:00
tonnesen 401aada2ac Added header and log substition variables 2001-02-07 23:47:43 +00:00
tonnesen 1159649fe8 Start of code to implement virtual bookshelves in Koha. 2001-02-07 20:27:16 +00:00
tonnesen 0d4c0ffb84 loadmodules.pl allows redirection to different modules based on systemprefs
Added subroutine in Search.pm load systemprefs from new systempreferences
table in database.  Initial use is to allow using my simplified acquisitions
module in place of vendor-based acquisitions module.  Default is vendor-based
module.
2001-02-05 18:48:15 +00:00
tonnesen ee184dc80b Added a couple of missing $dbh->disconnect lines that were logging errors
in apache log files.
2001-02-05 17:47:58 +00:00
rangi 3b07c5bf30 Fixing printing error, now is printing all of the days issues for borrower 2001-02-04 22:25:42 +00:00
rangi cf3086c7da Attempting to get issues slip to print when borrower is finished with 2001-02-01 02:08:34 +00:00
rangi 74aa1d1edd Fixed a little bug in getiteminformation, it wasnt returning item loanlength 2001-01-31 22:09:31 +00:00
rangi dea0fd150d Added a line to Ouput.pm to enable circulation to use its own includes
Changed the look of circulation.pl to the green/yellow colours

Note: Steve, i added another variable $backgroundimage that sets the background image for the main tables, so it should be straightforward to change the look back to the colours you had if you want to
2001-01-31 21:38:43 +00:00
tonnesen f7953fecf3 Return itemlist array, and itemlisttext (text version of overdues) with
overdue flag in getpatroninformation()
2001-01-31 18:13:38 +00:00
tonnesen ee5ba729f3 Returns module lists recently returned items, cookies used to store branch
and printer preferences.
2001-01-26 00:17:00 +00:00
tonnesen d389b68e6d Refined Returns module.
Added ability to select branch and printer.
Fixed charges for rental items.
2001-01-25 00:01:34 +00:00
tonnesen eaa9677292 Changes to web circulation module: rudimentary returns module, arbitrary
due date for issues, flag info displayed, overdue books are displayed in
red.
2001-01-23 23:48:54 +00:00
tonnesen 3186e690ce Fixed a bug in issuing reserved books. Was calling non-existent
printreserve subroutine
2001-01-23 00:12:49 +00:00
tonnesen 7c52cda9d6 Started work on a web-based circulation interface. 2001-01-22 23:48:41 +00:00
tonnesen e6d86cdd17 Added support for showing patron flags in the issues module.
Moved popup message windows to a Toplevel widget instead of a message
widget.  Toplevel widgets come up much faster than message widgets.
2001-01-17 23:45:50 +00:00
rangi e6fb400c7d Fixing a glitch in the fines routine, was failing if adding a new fine to
the same user for the same item
2001-01-16 23:34:29 +00:00
tonnesen e16ba0cb0a API for circulation modules 2001-01-15 19:31:41 +00:00
tonnesen 8b421dd4cc Renamed koha.conf config entry from "path" to "includes", which is more
meaningful in the koha.conf file.
2001-01-05 17:47:20 +00:00
tonnesen 21b18bf675 Modified getbranch() and getprinter() subroutines to not pop up a menu if
there is only one branch or one printer, but just select the single option
automatically.
2001-01-05 17:39:25 +00:00
tonnesen 1c9ef0371f Added support for moving path=... variable to /etc/koha.conf 2001-01-05 16:30:45 +00:00
rangi 80a0cb638e Shifted Database connection variables out into a configuration file
The permissions on this config file should also be strict, since they contain
the database password.
At a minimum, the apache user needs to be able to read it, as well as any other user that runs circ.
I would suggest ownership of www-data.libadmins with no access to others.
libadmins contain all users that use circ

destined for v1.08
2000-12-21 19:56:43 +00:00
rangi d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00