Commit graph

697 commits

Author SHA1 Message Date
tipaul
8986960a12 removing useless warn & renaming a sub that can probably be removed 2004-11-08 19:49:45 +00:00
tipaul
d1c7377cf1 Improving FindDuplicate to find duplicate records on adding biblio 2004-11-05 10:15:27 +00:00
tipaul
2a1ae77f5e Auth.pm with LDAP
perldoc Auth_with_ldap.pm to see how to set it
2004-11-05 10:13:31 +00:00
tipaul
5a612e176c remove LDAP dependancy, replaced by auth_with_ldap.pm 2004-11-05 10:12:27 +00:00
tipaul
0b4c153905 export auth_count_usage (bugfix) 2004-11-05 10:11:39 +00:00
tipaul
8f0ca2ceb7 Limit search to 30 days when the order is by acquisition date desc (ie when the user want to see new books) 2004-11-05 10:10:48 +00:00
rangi
998cc6bc2b Fixing bug that was stopping subject maintenance working 2004-11-05 00:08:22 +00:00
tipaul
5663435076 new feature : checking for duplicate biblio.
For instance, it's only done on ISBN only. Will be improved soon.

When a duplicate is detected, the biblio is not saved, but the user is asked for a confirmations.
2004-11-02 16:44:45 +00:00
tipaul
2b27da1e06 bugfix : using concat instead of + to merge field & subfield. Otherwise, when the subfield is a number, it's a numeric addition that is done !!! 2004-10-27 08:11:44 +00:00
tipaul
4eb5fd5a4c rewritting item status checking : now, each item is shown with it's callnumber and status (available, on loan,...) 2004-10-25 09:38:00 +00:00
tipaul
2eda32b247 adding search orders history feature 2004-10-19 12:24:56 +00:00
tipaul
89dea6f3ec Adding possibility to order the basket by :
* publishercode
OR
* budget then publishercode
2004-10-05 09:22:16 +00:00
tipaul
2cc3037397 adding getmember sub to the package (the Search.pm/borrdata should be removed, it has nothing to do here) 2004-10-04 20:19:08 +00:00
tipaul
b9a7f33601 * removing the hard coded $
* adding bookfund to the order list
2004-10-04 20:03:23 +00:00
tipaul
e49f99e9db POD documenting 2004-09-23 16:16:24 +00:00
tipaul
df00471f94 indenting diff 2004-09-23 16:15:37 +00:00
tipaul
a78b5d16f5 Bugfix in modification 2004-09-23 16:12:35 +00:00
tipaul
a9c5f50275 adding barcode generator to Koha 2004-09-20 15:03:27 +00:00
tipaul
315a8670f1 some changes in serial management :
* in subscription Add, the issue number & date is used to calculate the 1st issue (previously, a "next issue number & date" was applied, meaning you had to enter the number & date of a previous issue)
* the "inner loop" used for serials number ({XYZ}) is now shown & can be modified. The innerloop is used for numbering formulas saying "change the number once every 4 times".
2004-09-20 10:16:05 +00:00
tipaul
38c72dd374 enabling # (| still possible too) for repeatable subfields 2004-09-16 15:06:46 +00:00
tipaul
214c37b371 modifs in new acquisition option : the search is now managed through the standard search API, with an "order by timestamp" order.
opac-new.pl can be removed
2004-09-16 09:21:05 +00:00
tipaul
f927e8eb36 bugfix for manually fixed duedate on issue. 2004-09-15 16:27:18 +00:00
tipaul
a1c11c5784 bugfixes in order modif 2004-09-15 16:13:41 +00:00
tipaul
e2a219b290 fixing bugs in issue renewal 2004-09-15 16:09:57 +00:00
tipaul
3ffcc8657d fix for circulation rules test : the default branch is "", not "*" (* is for "any borrowertype" and "any itemtype") 2004-09-14 12:37:04 +00:00
tipaul
c0585cdeaf *** empty log message *** 2004-09-13 15:26:42 +00:00
tipaul
92decf23bf separating additional authors with - instead of a ,
a , can be used in french to separate name & surname
2004-09-13 15:25:38 +00:00
tipaul
d9dcfbeb7a warn removes + fix for item count 2004-09-13 15:23:35 +00:00
tipaul
1af42ff447 bugfix for acquisitions 2004-09-13 15:21:59 +00:00
tipaul
fa793e394a some commented warning added + 1 major bugfix => drop empty fields, NOT fields containing 0 2004-09-06 14:17:34 +00:00
tipaul
8d868bb448 adding a "location" field to the library.
This field is useful when the callnumber contains no information on the room where the item is stored.
With this field, we now have 3 levels of informations to find a book :
* the branch.
* the location.
* the callnumber.

This should be versatile enough to solve any storing method.
This hack is quite simple, due to the nice Biblio.pm API. The MARC => koha db link is automatically managed. Just add the link in the parameters section.
2004-09-06 10:00:19 +00:00
shedges
f3e5fcd15d Fix bug 789 (in HEAD) 2004-09-05 22:33:12 +00:00
shedges
686a41a71c Minor changes to add classification data to return array from loose search. 2004-09-04 13:48:27 +00:00
tipaul
1edf59efe5 road to a better member management code.
Useful for LDAP integration
2004-09-02 16:27:09 +00:00
tipaul
a115863f93 some fixes for LDAP (more to come) 2004-09-02 16:25:20 +00:00
tipaul
56825e415f modularizing (with Members.pm) members management
(beginning of...)
2004-08-30 13:48:58 +00:00
tipaul
6693f707b3 removing useless package 2004-08-30 13:22:46 +00:00
tipaul
4d23559149 fixing bug (dbh error in error log, even if the result was OK) 2004-08-20 09:14:07 +00:00
tipaul
2580ddc726 fixing a complex bug : the last results didn't have callnumber informations. Had to rewrite algorythm for building the result array. 2004-08-20 08:19:52 +00:00
tipaul
8790983cd5 commiting stephen hedges modifs to css template & fixing a bug in variable name (same name in TMPL_LOOP and TMPL_VAR confuses a lot HTML::Template) 2004-08-18 16:44:37 +00:00
tipaul
75e8b810e8 minor reindentings 2004-08-18 16:02:26 +00:00
tipaul
2e18684cde modifs to support frameworkcodes 2004-08-18 16:01:37 +00:00
tipaul
9cfafb870e fixes for authorities management 2004-08-18 16:00:24 +00:00
tipaul
ab39e57393 fixes in circulation module 2004-08-18 15:52:14 +00:00
shedges
1e02b5b4aa added getMARCnotes and getMARCsubjects functions. 2004-08-17 20:53:34 +00:00
tipaul
b2d3fe1ccb moving language chooser to the main page.
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm

moving changelanguage.pl to OPAC scope
2004-08-16 12:49:42 +00:00
tipaul
502ab11ae9 moving language chooser to the main page.
monving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm
2004-08-16 12:48:52 +00:00
rangi
e334c8699f Commiting a sample change to the default template to allow users to pick
their language.
Just a sample template builders can look at this and make changes to their
templates
2004-08-15 01:50:24 +00:00
tipaul
37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul
c93369dc4a patch from A. Tarallo (for differents DB schemes) 2004-08-13 09:13:14 +00:00
tipaul
26b2374cd4 bugfix 2004-08-12 14:36:44 +00:00
tipaul
716d4a4e18 serials : lot of bugfixes.
Works fine now. And is documented (clic Help)
2004-08-12 14:36:07 +00:00
tipaul
1e33d3ca1a changing DB structure to calculate next issue number.
Seems to work fine.

Still misses the date calculation & the test of end of subscription (maybe for monday ?)
2004-08-06 16:38:41 +00:00
tipaul
8e5b1d4792 reordering code & debugging 2004-08-05 16:34:41 +00:00
doxulting
637a78a5c1 The XYZ funcs for serials seqs 2004-07-30 14:01:48 +00:00
doxulting
f122180117 Beginning of serial commit 2004-07-30 13:54:27 +00:00
rangi
64a6d5d756 Contains the function to get the language template, and set the cookie 2004-07-16 21:15:26 +00:00
rangi
3cd76eef0c Code to set a cookie which stores which language is displayed to the user 2004-07-16 00:36:56 +00:00
tipaul
3e0a132171 * removing useless sub
* minor bugfix in moditem (managing homebranch & holdingbranch)
2004-07-15 09:48:10 +00:00
tipaul
f29ce59691 Acquisition & Suggestion :
* acquisition rewritte : create a aqbasket table to deal with "bookseller order header".
* add "close basket" feature : a closed basket can't be modified
* suggestion feature : manage suggestions in acquisition (after suggestion filled in OPAC)
2004-07-15 09:41:03 +00:00
tipaul
6376aa4326 catalogue.pm deals only with acquisitions.
so, renaming it...
catalogue management is done in Biblio.pm package
2004-07-13 12:52:13 +00:00
doxulting
e737c7eb1d First step for working authorities 2004-07-05 13:37:22 +00:00
tipaul
73de15b3ff Adding 2 new fields, called "sort1" and "sort2"
They can be used for sorting & statistics reasons by the library.
2004-07-02 15:55:06 +00:00
tipaul
a043d6de11 bugfix (due to frameworkcode field) 2004-07-02 15:53:53 +00:00
tipaul
f3547ff1c8 last sync for 2.1.0 release 2004-06-29 16:07:09 +00:00
doxulting
fd8ae64752 Debugged issuing rules n01 2004-06-29 13:02:34 +00:00
rangi
09c2a88e02 Fixing modaddauthor, and adding getitemtypes.
Also tidying up formatting of code
2004-06-26 23:19:59 +00:00
tipaul
11846f098d some improvements in SearchMarc 2004-06-22 15:33:30 +00:00
tipaul
e801c22701 removing % at the beginning of a string to avoid loooonnnngggg searchs 2004-06-22 11:35:37 +00:00
tipaul
54d9bfeeb6 changes in search method :
- supporting * and % on words (* is replaced by %)
- removing % when the word is 3 or less letters
2004-06-22 08:39:22 +00:00
tipaul
cc5e837309 bugfixes in circulation 2004-06-17 08:17:39 +00:00
tipaul
b6cc6680dc merging tag & subfield in marc_word for better perfs 2004-06-17 08:16:32 +00:00
tipaul
ea807900bf merging tag & subfield in auth_word for better perfs 2004-06-17 08:02:13 +00:00
joshferraro
0a97a432ee Changes MARCaddword to index words >= 1 char ... needed for more accurate
searches using SearchMarc routines.
2004-06-11 15:38:06 +00:00
joshferraro
a0f310eb19 Fixes problems with searching using terms that contain ' and , by
stripping them out and replacing with a space ... line 115
2004-06-11 14:01:28 +00:00
tipaul
e7e930ab39 MARC authority management (continued) 2004-06-10 08:28:40 +00:00
tipaul
cf90808dd5 MARC authority management package 2004-06-07 07:35:01 +00:00
tipaul
83901a889f adding bibid to the result list 2004-06-03 10:06:27 +00:00
tipaul
12b49ff84b removing unused code 2004-06-03 10:02:08 +00:00
tipaul
5f4179a6c3 * frameworks and itemtypes are independant
* in the MARC editor, showing the + to duplicate a tag only if the tag is repeatable
2004-06-03 09:59:36 +00:00
tipaul
1a5963a30a minor fixes (odd/even lines bug) 2004-05-28 16:14:40 +00:00
tipaul
e651ebf89f adding suggestions in OPAC 2004-05-28 08:28:22 +00:00
tipaul
08892f4eec adding authtype management (MARC authority types) 2004-05-28 08:26:57 +00:00
tipaul
59ae3d902f hidding hidden & isurl constraints into MARC subfield structure 2004-05-28 08:24:14 +00:00
rangi
b98c3aa573 Fix for bug 787 2004-05-27 21:47:21 +00:00
doxulting
d849d360a7 This time we only check books that borrowers still have 2004-05-24 14:20:15 +00:00
doxulting
8268330561 Premier commit JB34. Verification du nombre maximum de livre a emprunter. 2004-05-24 12:14:38 +00:00
tipaul
88e67b8d3e framework management : 1 MARC framework for each itemtype 2004-05-18 15:22:10 +00:00
tipaul
9ac07b38be getitemtypes moved in Koha.pm 2004-05-18 11:54:07 +00:00
tipaul
ec64f1fcd8 Marc search ported to OPAC.
seems to work fine
2004-05-10 09:24:14 +00:00
tipaul
a21293a475 adding LibraryName variable in the template 2004-05-10 09:23:32 +00:00
tipaul
694ad5d6fb removing unused subs 2004-05-04 16:17:19 +00:00
tipaul
a4157fd8d2 continuing code cleaning & reordering 2004-05-04 16:15:56 +00:00
tipaul
5065cfa25c removing Renewals (all circ related subs are moved to Circ2.pm) 2004-05-04 15:46:01 +00:00
tipaul
6cc534a686 POD documenting & some improvements 2004-05-03 16:36:31 +00:00
tipaul
12d7e38cd5 copying printslip from circulation.pl 2004-05-03 09:26:12 +00:00
tipaul
12bfd66995 some fixes for mysql prepare & execute 2004-05-03 09:19:22 +00:00
tipaul
040bcdf92b CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:10:51 +00:00
tipaul
b311b890d2 added param to checkaccount API 2004-05-03 09:04:49 +00:00
tipaul
21a379acda CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:02:12 +00:00