Commit graph

463 commits

Author SHA1 Message Date
finlayt
69c03f2194 Little bug fixes. 2002-09-04 22:51:39 +00:00
finlayt
f0244671c4 Bug fix in ReserveWaiting to make sure only the record found is marked waiting. 2002-09-04 22:31:06 +00:00
tonnesen
637c64680f Added bibliothesaurus table 2002-08-30 17:26:14 +00:00
finlayt
0883b382b9 Fixed bug in flags display 2002-08-29 00:00:45 +00:00
finlayt
4d9cb5162d rewrote CheckReserves so that it can be called with a barcode as well as on itemnumber. 2002-08-26 22:34:29 +00:00
finlayt
d96ae9ae65 another little tinker. long overdues are now requestable. 2002-08-22 04:45:07 +00:00
finlayt
d8e359ce2f added another link on the "Reserve Found" flag. 2002-08-22 04:20:33 +00:00
finlayt
df88c1b7f5 Fixed bug by cleaning out crud. 2002-08-22 03:06:33 +00:00
finlayt
816520a4a1 Fixed up the display of bibitems, implemented some restrictions on which items can be reserved. 2002-08-22 02:31:58 +00:00
finlayt
bb97d5133a fixed bug caused by last commit 2002-08-21 04:35:13 +00:00
finlayt
e8c683ca53 Changed the display of lost, long overdue, reference, and cancelled items. 2002-08-21 04:31:25 +00:00
finlayt
26957b08de turned of the branchtransfer when an item is set to "waiting". 2002-08-21 04:29:03 +00:00
finlayt
4b1f369036 Fixed up some of the messaging stuff. 2002-08-21 03:54:39 +00:00
finlayt
eb78ea1a41 minor changes to comments etc.... 2002-08-21 02:45:30 +00:00
finlayt
61bc77d3a9 A little script for performing changes to the branch fields on items. This script runs over the database. 2002-08-21 02:42:54 +00:00
finlayt
236e3babd1 Fixed a little bug so that flags get recalculated after an item is issued. 2002-08-21 01:40:47 +00:00
finlayt
98239184b7 Fixed a bug in the reordering priorities in FillReserve and andother different bug in CheckReserves. 2002-08-21 01:31:16 +00:00
finlayt
b195ac3625 removed the printreserve routine. It has been replaced by printslip. 2002-08-20 22:40:12 +00:00
finlayt
7eab6cbfda fixed up the CheckReserves.pm routine so that it does not put Referece items into "waiting" status if there is a reserve. Also fixed a bug in detail.pl. 2002-08-19 06:29:36 +00:00
finlayt
b7a18e8035 added a Boolean: $norequests whhich is set on the template detail.tmpl so that the "requests" button only apears if it is actually possible to make a request. This is set by checking against the "notforloan" field on the itemtypes table. 2002-08-19 05:37:15 +00:00
tonnesen
bac842beda Removed '_' between issues, returns, and transfers graphics 2002-08-16 20:46:40 +00:00
finlayt
0f4b30b89c Changed the wording of the reserves print slip slightly. 2002-08-15 22:26:34 +00:00
finlayt
91fc634cdd Fixed a really terrible bug! Took out the fixpriorities call in FillReserve. This is not necesary because the priorities are fixed up when the item is set to waiting in ReserveWaiting. 2002-08-15 03:31:02 +00:00
finlayt
49e2aee04c Added some red color here into the message that appears when a waiting book is attempted to be issued. 2002-08-15 03:27:28 +00:00
finlayt
13e3a38889 changed the color to red and size to +2 for the Issuing Question.... 2002-08-15 03:13:44 +00:00
rangi
6f9cbbda8a Fix for last borrower for the moredetail.pl page
sCVS:
2002-08-15 02:02:40 +00:00
tonnesen
1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
finlayt
7cb45abb40 added a check in the returnbook subroutine that checks to see if a book has been cancelled: i.e. that the wthdrawn field has been set to 1. 2002-08-14 05:37:07 +00:00
finlayt
0f93387146 all items are listed in the returned items list, regardless of whether they were issued or not.
Changed some messageing stuff as well, but will be back to fix that up some more.
2002-08-14 05:35:53 +00:00
finlayt
ea7cae2b93 I have changed the branch options to only include the Issueing branches. Also if no branch is set it Defaults to Levin. 2002-08-09 04:33:01 +00:00
finlayt
7d440c782f changed the previous issues to be listed in order of due date 2002-08-09 04:14:56 +00:00
finlayt
67e285299d fixed up the todays issues and previous issues tables so that they are both listed in reverse order by issue date. 2002-08-09 04:03:43 +00:00
rangi
ccc1a1a354 fix to pass the catalog maintenance flag along 2002-07-31 09:17:34 +00:00
finlayt
6c98407c18 added a   if the volumendesc field is null. 2002-07-31 04:27:57 +00:00
finlayt
7ff8ab7cc9 added the ordernumber information to make the Aquisitions link work. 2002-07-31 03:56:44 +00:00
finlayt
2413b4a7a8 added "notforloan" field to the itemtypes table. 2002-07-31 02:34:27 +00:00
finlayt
3045d3aa12 Changed the ItemInfo method. if an items "itemlost" field is 2, the 'duedate' is set to "Very Overdue". If itemlost = 1, duedate is set to "Lost". 2002-07-31 01:50:06 +00:00
finlayt
ba793f7604 added the itemtype code to the printed slip that goes in a reserved book. 2002-07-26 02:27:16 +00:00
finlayt
3e5a9b644e added the book title and author to the reserve messages. 2002-07-26 01:09:55 +00:00
finlayt
c03d4f6f94 Fixxing bugs 2002-07-26 01:08:48 +00:00
finlayt
7bc4579223 removed some warn statments. 2002-07-26 01:08:13 +00:00
finlayt
ee915e6d7c taking out some warn statements.... 2002-07-25 21:42:26 +00:00
finlayt
6eae239bb2 Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint. 2002-07-25 21:41:10 +00:00
tipaul
0ae56dd011 pod documenting the API. 2002-07-25 13:40:31 +00:00
tipaul
01567396fe small script that show in HTML a MARC biblio stored in koha. Very useful for test, and could be a start for MARC management in koha. 2002-07-25 09:55:51 +00:00
tipaul
64dae2746d Now, the acqui.simple system...
marcimport.pl has been almost completly rewritten, so LOT OF BUGS TO COME !!! You've been warned. It seems to work, but...

As with my former messages, nothing seems to have been changed... but ...
* marcimport now uses HTML::Template.
* marcimport now uses MARC::Record. that means that when you import a record, the old-DB is populated with the data as in version 1.2, but the MARC-DB part is filled with full MARC::Record.

<IMPORTANT NOTE>
to get correct response times, you MUST add an index on isbn, issn and lccn rows in biblioitem table. Note this should be done in 1.2 too...
</IMPORTANT NOTE>

<IMPORTANT NOTE2>
acqui.simple manage biblio, biblioitems and items tables quite properly. Normal acquisition system manages biblio, biblioitems BUT NOT items. That will be done in the near future...
</IMPORTANT NOTE2>

what's next now ?
* bug tracking, of course... Surely a dozen of dozens...
* LOT of developpments, i'll surely write a mail to koha-devel tomorrow (as it's time for dinner in France, and i plan to play NeverwinterNights after dinner ;-) ...
2002-07-24 16:24:20 +00:00
tipaul
9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
tipaul
1da4e0ff2f 1st scripts for MARC-DB.
WARNING : YOU MUST DO THE FOLLOWING IF YOU EXPECT THE MAIN-BRANCH TO WORK.

* install MARC::Record package, from cpan or sourceforge
* OVERWRITE File.pm and USMARC.pm. The original misses 1 functionnality we absolutly need in koha (reading a MARC from a variable, not from a file). Thanks to Steve, who modified MARC::Record.
* modify your DB by adding marcschema.sql tables
* populate new tables by launching fill_usmarc.pl

Then, it should work...
What works exactly will come in the next commit, in a few minuts (hitchcock suspens...)
2002-07-24 15:52:53 +00:00
finlayt
52e5f54401 removed warn statement 2002-07-24 05:11:07 +00:00
finlayt
55798ef08a commented out a warn or two... 2002-07-24 04:00:33 +00:00