Commit graph

755 commits

Author SHA1 Message Date
rangi
d2b2eb603b Fix for loanlength to make the default length work properly 2005-08-31 23:11:19 +00:00
rangi
a39bfaf75d fixing unfilledreserves 2005-08-25 23:15:34 +00:00
hdl
2dbb086c46 Adding a note field in serial table.
This will allow librarian to mention a note on a peculiar waiting serial number.
2005-08-24 08:49:03 +00:00
szrj1m
a70de3cbde &getcredits now returning 'BAY' and 'WORK' type credits too. 2005-08-22 01:05:49 +00:00
szrj1m
621e60b86e Added &getcredits routine. 2005-08-19 00:38:33 +00:00
szrj1m
41d7e8a44c UpdateStats is now being passed $accountno. 2005-08-18 21:15:20 +00:00
tipaul
4fa499f055 removing itemcount sub, that is already in Biblio.pm 2005-08-12 13:52:28 +00:00
tipaul
ba3339c4e8 searching with the zebra.
replacing 2.2 marc search by a Net::z3950 search (waiting for Perl/Zoom)
works only for title/author/isbn search, any other search is considered as 'keywork search' (=anywhere
2005-08-12 13:51:48 +00:00
tipaul
56e5773f9d removing useless sub declarations 2005-08-12 13:50:31 +00:00
tipaul
35e4cf543c was a test for inverted indexes. Useless we have choosen zebra 2005-08-12 13:39:51 +00:00
tipaul
0275f18980 removing useless package 2005-08-12 13:39:04 +00:00
tipaul
9a508fe3df Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated correctly.

NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1

in .abs file :
elm 090            Local-number            -
elm 090/?          Local-number            -
elm 090/?/9        Local-number            !:w

(090$9 being the field mapped to biblio.biblionumber in Koha)
2005-08-11 16:12:47 +00:00
tipaul
19e29e9245 * POD documenting
* removing useless subs
* removing some subs that are also elsewhere
* renaming all OLDxxx subs to REALxxx subs (should not change anything, as OLDxxx, as well as REAL, are supposed to be for Biblio.pm internal use only)
2005-08-11 14:37:32 +00:00
tipaul
07a3e4c8fb just removing useless subs (a lot !!!) for code cleaning 2005-08-11 09:13:28 +00:00
tipaul
6f16f25d3a Ok guys, this time, it seems that item add and modif begin working as expected...
Still a lot of bugs to fix, of course
2005-08-11 09:00:07 +00:00
hdl
18a6bad8ab Minor display changes.
Now displaying publicationyear.
And biblio information in One cell.
2005-08-10 14:22:48 +00:00
hdl
27c2d1a72e Bug fixing on query getlateorders.
Adding subtotal.
Changing information display orders.
next work is pretty printing.
2005-08-10 10:22:57 +00:00
tipaul
139d01cf13 continuing the road to zebra :
- the biblio add begins to work.
- the biblio modif begins to work.

(still without doing anything on zebra)
(no new change in updatedatabase)
2005-08-10 10:21:14 +00:00
hdl
3a48682514 Adding lateorders page.
It provides the user with the list of items that have been ordered for a delay and are NOT yet received.
The user may filter by supplier or branch or delay.
This page is still under developpement.
Goal is to make it ready to print to reorder the books.

2 new functions have been written in Acquisition module :
getsupplierlistwithlateorders
getlateorders

branches has been modified to manage branch independancy.
Request for comment.
STILL UNDER developpment
2005-08-09 14:13:27 +00:00
tipaul
4cf30123a4 1st commit to go to zebra.
don't update your cvs if you want to have a working head...

this commit contains :
* updater/updatedatabase : get rid with marc_* tables, but DON'T remove them. As a lot of things uses them, it would not be a good idea for instance to drop them. If you really want to play, you can rename them to test head without them but being still able to reintroduce them...
* Biblio.pm : modify MARCgetbiblio to find the raw marc record in biblioitems.marc field, not from marc_subfield_table, modify MARCfindframeworkcode to find frameworkcode in biblio.frameworkcode, modify some other subs to use biblio.biblionumber & get rid of bibid.
* other files : get rid of bibid and use biblionumber instead.

What is broken :
* does not do anything on zebra yet.
* if you rename marc_subfield_table, you can't search anymore.
* you can view a biblio & bibliodetails, go to MARC editor, but NOT save any modif.
* don't try to add a biblio, it would add data poorly... (don't try to delete either, it may work, but that would be a surprise ;-) )

IMPORTANT NOTE : you need MARC::XML package (http://search.cpan.org/~esummers/MARC-XML-0.7/lib/MARC/File/XML.pm), that requires a recent version of MARC::Record
Updatedatabase stores the iso2709 data in biblioitems.marc field & an xml version in biblioitems.marcxml Not sure we will keep it when releasing the stable version, but I think it's a good idea to have something readable in sql, at least for development stage.
2005-08-09 14:10:27 +00:00
tipaul
190d05b00e minor (graphic) changes in log viewer 2005-08-08 09:11:54 +00:00
hdl
787c184dc7 Code necessary for IndependantBranches parameter to work. Should have been committed sooner...
Modify Histsearch and getorders to respect branches of librarian.
2005-08-08 08:42:32 +00:00
tipaul
3897417124 adding some fields available for Letters 2005-08-05 15:50:46 +00:00
tipaul
735487d1e6 removing my own adress as "From" ;-) 2005-08-05 14:48:52 +00:00
tipaul
791e786944 2 new features :
- a mail is sent everytime an issue if recieved in serial module. The mail is sent to all borrowers that have put an alert on the subscription (remember that you can put an alert only if the librarian have defined a "letter" as mail to send)
- the librarian can see, for a given subscription, who has put an alert.
2005-08-05 14:47:23 +00:00
tipaul
2605a20610 adding emailaddress to user context.
Now, we can use userenv->{emailaddress} to get the librarian email address everywhere.
2005-08-05 14:43:44 +00:00
tipaul
e218294c2c fixing a bug in synch 2005-08-04 14:35:54 +00:00
tipaul
2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00
tipaul
df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
hdl
0960f3245c Removing some unuseful warns.
Adding an error management for memberentry : Branch.
2005-07-29 16:14:37 +00:00
hdl
1b11e86c9e Some Bug Fixes 2005-07-28 15:40:52 +00:00
tipaul
3df7bdc5d3 For instance, the return date does not rely on the borrower expiration date. A systempref will be added in Koha, to modify return date calculation schema :
* ReturnBeforeExpiry = yes => return date can't be after expiry date
* ReturnBeforeExpiry = no  => return date can be after expiry date
2005-07-28 08:38:15 +00:00
hdl
5d22c28ea2 Implementing Independancy Branches management :
- Trying to get a basket not owned by so of his own branch leads to mainpage.
- Lists onlys ths baskets owned by someon of user's brach.

Auth.pm now sends a cookie with userenv informations.
2005-07-28 07:52:02 +00:00
hdl
7bd7c514e4 Adding branch Independancy support for searchsugestion. 2005-07-26 17:01:11 +00:00
hdl
31fca3dfd2 Bug Fixing for independantBranches support.
Addign a Cookie containing user specific vars such as :
branch,
firstname,
surname,
cardnumber...
may be criticized from a lawyer point of view, since name and surname are given.
But the real need is for userid and branch.
And it is achieved.
Auth passes now TWO cookies :
a session cookie
And an environment cookie.
2005-07-26 15:58:47 +00:00
tipaul
b8e4963f90 some bugfixes, but still don't work correctly 2005-07-26 10:12:48 +00:00
hdl
5fa6925444 Adding Branch Independancy.
Still under development.
2005-07-26 07:50:27 +00:00
hdl
552d398bf7 Adding page to display log views.
can be called by admin/viewlog.pl
Works with C4/Log.pm
uses action_logs table
2005-07-20 16:09:03 +00:00
hdl
e4a19baab6 Adding an object field to action_logs.
+ Minor Correction to updatedatabase
Changing Activate_Log from choice to YesNo Variable.
2005-07-19 16:48:15 +00:00
slef
f0fefb2ec0 Add start of 2.3 installer. Remove obsolete? files conflicting with 2.3 installer 2005-07-18 16:38:57 +00:00
hdl
bec1be7090 Adding Log Facility.
Needs Two Update in database...
On more table (action_logs)
And One more syspref Activate_Log, with On|Off values.
Maintainance has been sweeped of previous Log functions
addbiblio.pl contains a sample of code using Log.pm
To be generalized to Authorities, acquisitions, members soon.
2005-07-15 16:10:31 +00:00
hdl
ec94689218 Adding a log facility for actions watching.
Code to be widely used in order to report data modifications.
2005-07-14 09:53:10 +00:00
hdl
2950574dd6 Adding branch specific display to budgets and selection.
Be warned that to be able to select a budget which is not from patron's Branch, you should have a '' Branch information.
2005-07-14 09:13:24 +00:00
hdl
979940ecba Modifying branch Selection : Now Superlibrarians are always able to see ALL branches budget, not simple librarians. 2005-07-12 13:59:38 +00:00
genjimoto
91fe8eb8e0 New code making a search not needing to use tables not already used in searching.. doesn't take longer than normal. Achieved via new parameter in Catalogsearch called $extratables. 2005-06-25 05:35:29 +00:00
hdl
02c6eacdb7 Adding scrolling list for sort1 and sort2 2005-06-22 09:36:24 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
hdl
27ce1d1c23 Detailing the three latest issues on OPAC for serials 2005-06-17 13:44:25 +00:00
hdl
b7946b72e2 Adding 2 status to serial issues :
- delete : to delete the current issue
	- not issued : to distinguish missing from not issued serial number.
2005-06-16 19:10:09 +00:00
hdl
7fd0a58305 Displaying dashed isbn. 2005-06-15 16:09:42 +00:00