Commit Graph

797 Commits

Author SHA1 Message Date
tipaul 6e0cba0df8 * reordering a query to have correct values in a hash.
* formatting a date for output
2005-12-14 13:09:42 +00:00
tipaul 6650db3c36 * fix for items.notes that is not correctly handled in the non-MARC part of the DB
* for an unknown reason, mysql fetchrow_hashref returns author BEFORE the title, even if you want it after that makes a problem for UNIMARC where we have 200 $atitle $fauthor => the record appears $f $a.
* handling better biblio/biblioitems creation from an acquisition : the biblio is deleted & recreated to avoid strange things like a repeated 200 field in UNIMARC.
2005-12-14 13:08:47 +00:00
tipaul 67c680bfc9 no need to do a search on an authority when the authority has no MARC field (like EDITORS pseudo authority) 2005-12-01 17:30:26 +00:00
tipaul 09a2b1b61c suggestion/acquisition bugfixes :
- 200 field is no more splitted in 2 parts
- author is after title in UNIMARC (dirty solution, but mySQL has a strange behaviour)
- when the book is recieved, the suggestion is marked "available" and a mail is sent
2005-12-01 17:27:55 +00:00
tipaul 58b94ffdb7 dashes ISBN 2005-12-01 15:31:27 +00:00
tipaul eeea163fd8 small fix for recent acq 2005-12-01 15:30:53 +00:00
tipaul 47a75d2968 improving look when a biblio has X subscriptions 2005-12-01 15:05:59 +00:00
tipaul 33f01b0480 ordering lists by title + adding odd/even mechanism 2005-11-25 17:09:03 +00:00
tipaul d831adc8fb updating auth_with_ldap to have something like auth.pm (with env management)
Note : 1st commit on savannah for me
2005-11-25 16:45:35 +00:00
hdl 7650b33e3e Adding getallbranches function which is not sensitive to IndependantBranches value 2005-11-21 17:10:37 +00:00
doxulting 914d818e7b There was a bug : Even if you erased the marc field linked to additionalauthors.authors the additionalauthors stayed in database. Now : delete before recreating 2005-10-28 13:46:50 +00:00
doxulting 5dc771923c It was impossible to add a subfield with value : 0. Was a problem for loan status. 2005-10-26 16:37:24 +00:00
tipaul d9500f8d8a * fixing bug in summary (separator before subfield was in fact after)
* fixing bug in authority order : authorities are not ordered alphabetically instead of no order. Requires all the dataset to be retrieved, but the benefits is important !
2005-10-25 12:38:59 +00:00
tipaul 90d6886493 fixing bug in a test loop 2005-10-10 08:57:15 +00:00
hdl 5cfe50afb1 Fixing a bug in independant Branches management. 2005-10-05 18:15:40 +00:00
tipaul 334cd38720 fixing bug : categorytable instead of issuing rules that is the new table name (thx to chris) 2005-10-05 09:46:36 +00:00
tipaul 59e92cc712 fixing a bug in getMARCsubject 2005-10-04 14:48:23 +00:00
hdl 8225550ca2 Bug Fixing : Order by title wouldn't work any longer...
Display volume and volumeddesc in Intranet.
Modifying Common-style.css in order to have a "prety display in resultlist.
2005-10-04 09:40:26 +00:00
hdl 9fc96fd320 Bug Fixing
userenv was always empty.
$userid and $cardnumber are now taken as global variables.
2005-09-30 22:12:05 +00:00
hdl f1e70e767a Adding search on cardnumber and not only on userid for userenv variable 2005-09-30 21:54:29 +00:00
hdl 1944845fcf ordering search results by branch.
Adding independant Branch Management to getBranches in Koha.pm
2005-09-28 14:35:56 +00:00
tipaul 9257971835 fixing bug for recent acquisitions. Now works well. 2005-09-23 09:45:09 +00:00
tipaul ee39dcd783 when calculating the member barcode number
if the checkdigit is set to "katipo" use katipo calc method. Otherwise, just find the max existing number and add 1 (without check digit or V at the beginning)
2005-09-23 09:42:33 +00:00
tipaul 18b91449a3 removing warns 2005-09-23 09:36:25 +00:00
tipaul b4af00acdb adding total (qty & price) in historysearch 2005-09-23 09:35:09 +00:00
tipaul e4564349f2 fixing a big bug in circulation rules : the number of issued books was calculated poorly. Seems the bug had not been found before because there most books are of the same itemtype. Of borrowers don't try to issue more than what they can ;-)
(thanks to sylvain from doXulting, that pointed the problem & suggested the fix)
2005-09-23 09:31:15 +00:00
tipaul e5bf8baedd improving getMARCSUBJECT sub :
* for builded authorities / subject, the subject is correctly rebuilded (for example, if you have a subject history -- europe -- world war II -- France, it is correctly rebuilded). This will be interesting only for libraries with complex MARC authorities/thesaurus.
* the link to find related subject is correctly written (using the $9 subfield)

Should change nothing if the subject is not builded through authority ($9)
2005-09-14 16:00:15 +00:00
tipaul 52a190f734 removing warns 2005-09-14 15:56:42 +00:00
tipaul 20b429f203 fixing a bug in status format 2005-09-14 14:03:22 +00:00
tipaul 066dbfdb55 2 bugfixes :
* leader alignment when leader is <24 => should be left aligned, not right !
* trailing , in an update recently modified
2005-09-14 10:05:12 +00:00
tipaul 5aa7054739 adding missing fields in biblioitems update 2005-09-09 16:11:51 +00:00
tipaul fabb74b43c * removing the limit to delete a subscription
* adding serial note column to the subscription-detail
2005-09-09 10:11:38 +00:00
hdl 09199d3bce Undoing Logs 2005-09-09 08:19:57 +00:00
tipaul e072492215 fix to remove "request" button if there is no item requestable 2005-09-05 16:17:37 +00:00
hdl 0c5dddf73d Fixing a bug for marcimport.
Verifying that a record tag exists before getting its value
2005-09-01 13:43:33 +00:00
hdl ac1f580a40 Fixing Bug when no user logged in 2005-09-01 12:26:19 +00:00
hdl 6c546a781d Adding a test on a temporary value before processing it in Biblio.pm
Adding branchcode fields to aqbookfund and aqbasket.
2005-08-26 12:28:57 +00:00
hdl 35e6303729 Commiting all that allows Branch Independancy management :
* in acquisition module, an order can be modified/recieved/closed only by a librarian from the same branch than the librarian that created the basket.
* in catalogue module, an item can be modified/deleted/created only by a librarian from the same branch as item owner branch
* in members module, a member can be created/modified only by a librarian from the branch of the member.
Modifying Context.pm :
Adding userenv context variable.
Is set during checkauth or get_template_and_user
Modifying Auth.pm function checkauth : setting userenv context variable
Modifying Acquisition.pm:
    * histsearch
    * branches
    * bookfunds
    * getsupplierlistwithlateorders
    * getlateorders
    * getallorders
    * getorders
Add a branch criterium if IndependantBranches is set.
Modifiying Suggestion.pm:
    * searchsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
    * countsuggestions Will look first for th Librarian Branch and restrict search to suggestion made by users from this branch
File Modifiying :
    * admin/aqbudget.pl adding a branch selection for budget.
    * parameters/aqbudget.tmpl
    * admin/aqbookfund.pl adding a branch selection for bookfund
    * parameters/aqookfund.tmpl
And adding branch selection to members and items changes.
WARNING: bibid are still used in additem, unlike in HEAD... Shall be soon fixed.
2005-08-26 12:21:49 +00:00
hdl 25ec2b0bf4 Adding Log Facility for Biblio management.
Note that a javascript will soon be written for action type management and that viewlog.pl is fully functionnal (tested) only for Catalogue.
2005-08-24 10:44:53 +00:00
hdl 3ef8d1479e Adding a notes field into serial table.
Manage a note for a serial number...
Will allow a librarian to say "contact with supplier for this serial : Will be received on date...  " or anything else.
2005-08-24 09:02:25 +00:00
tipaul e03cf24cce * changing order on detailled subscription history : ordering by subscriptionid before date (to see all issues for a given subscription at once)
* when building lists, don't put title twice on multiple subscriptions to a title (replace it by "")
2005-08-02 15:03:33 +00:00
tipaul 5d9c18643e adding an empty word if there is none (to avoid a internal server error) 2005-08-02 09:01:52 +00:00
tipaul 1d5b1646ef fix for bug http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1009
(Not all items fields mapped to MARC)
2005-08-02 07:45:44 +00:00
tipaul 8e981cced0 managing ReturnBeforeExpiry flag.
If set in preferences, the return date can't be after the borrower expiry date.
2005-08-01 15:17:35 +00:00
tipaul 181b00e419 adding decoder for Ä string 2005-08-01 15:15:43 +00:00
tipaul 339890e557 minor change in summary handling (accepting 4 digits before the field) 2005-08-01 15:14:50 +00:00
tipaul 9f449a44db * removing a useless & CPU consuming call to MARCgetbiblio
* Leader management.
If you create a MARC tag "000", with a subfield '@', it will be managed as the leader.
Seems to work correctly.

Now going to create a plugin for leader()
2005-07-28 19:56:15 +00:00
tipaul 6f91901c64 <IMPORTANT NOTES for NPL>
Some cleaning :
- removing dirty hack getMARCurl in SearchMarc.pm & replacing it by some Perl in Search.pm : if repeated, urls are stored in biblioitems.url, separated by a |. Now, the urls are splitted in an array. WARNING : the template has been modified & NPL MUST modify their templates as well, should be really trivial (open http://bureau.paulpoulain.com:9010/cgi-bin/koha/opac-detail.pl?bib=1 to see the result)
- using getMARCsubjcts and getMARCnotes in css templates as well. WARNING (specially for NPL) : the MARC notes & subjects were outside from BIBLIO_RESULTS array. As notes & subjects were in this <!-- TMPL_LOOP --> i had to add them IN the loop. I think it's better, so I commented (line 73 and 74 of opac-detail) 2 lines that are useless for me but useful for you. My opinion is that it would be better to modify your template to put notes & subjects in the <TMPL_LOOP> (should be trivial) than uncommenting those lines (= create duplicate code)
However, my real opinion is that we have no good reason to use <!-- TMPL_LOOP name="BIBLIO_RESULTS" --> as we always have only 1 biblio here. But that's something we should fix in HEAD, not in 2.2
2005-07-26 08:38:25 +00:00
tipaul ecbc933920 * fixing a bug in subfield order when MARCgetbiblio
* getting rid with the limit "biblionumber & biblioitemnumber must be in the same tag". So, we can put biblionumber in 001 (field that has no subfields, so we can't put biblioitemnumber in this field), and use biblionumber as identifier in the MARC biblio too. Still to be deeply tested.
* adding some diacritic decoding (Ä, Ü...)
2005-07-19 15:25:40 +00:00
joshferraro 7516830727 Adds new sub getMARCurls which allows opac-detail.pl to display
Table of Contents and Descriptions when they exist in the MARC
record (in 856u).
2005-07-01 18:26:10 +00:00