Commit graph

570 commits

Author SHA1 Message Date
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
rangi
5178337784 Fix for bug 752 2004-04-28 09:09:27 +00:00
tipaul
a2f1bf834f improving Search :
* adding "suggestion", that popup a windows. The popup windows shows, for each word entered in the search form, the 10 words that sounds like the word entered, and that are used most often.
* fixes some minor bugs

Still to do :
* good support of ' and ,
2004-04-16 07:28:22 +00:00
tipaul
287e08803a bugfix => escaping correctly values in SQL 2004-04-14 19:45:48 +00:00
tipaul
207cfeb5b3 renaming items.bulk field to items.itemcallnumber.
Will be used to store call number for libraries that don't use dewey classification.
Note it's related to ITEMS, not biblio.
2004-04-02 14:55:47 +00:00
joshferraro
01458df59c Make isbn search on existing records looser (to allow for MARC isbn data)." 2004-03-28 16:04:47 +00:00
joshferraro
e85cf7756f Fixes Bug 763 (Location will not change) replaced:
$dbh->do("UPDATE items holdingbranch = $tbr WHERE   items.itemnumbe$
        &itemseen($itm);
	with:
$dbh->do("UPDATE items set holdingbranch = $tbr WHERE   items.itemnumbe$
        &itemseen($itm);
2004-03-24 21:06:48 +00:00
joshferraro
53272f3dad Fixes bug 749 by removing the comma on line 1488. 2004-03-24 17:18:30 +00:00
tipaul
f49bd9a544 bugfixes for newsearches 2004-03-24 10:44:48 +00:00
rangi
bb69d41e7b Fix for bug 761
Ill commit this to the rel-2-0 branch as well
2004-03-24 00:36:07 +00:00
tipaul
097e2d5718 bugfix : a missing } was placed at a wrong place. The auth did not work anymore... 2004-03-19 15:07:29 +00:00
tipaul
9d263d065b replaced by Reserves2 2004-03-17 15:59:39 +00:00
tipaul
fe1f0d563f removed : already exist in Circ2.pm 2004-03-17 15:55:27 +00:00
tipaul
072205a5d7 useless : replaced by Circ2.pm it seems 2004-03-17 15:53:09 +00:00
tipaul
c45548257d removing Returns, that is useless 2004-03-17 15:48:28 +00:00
tipaul
baf896c940 removing unused package 2004-03-17 15:16:58 +00:00
joshferraro
7684b9caf5 fixed missing } at EOF 2004-03-16 20:29:04 +00:00
rangi
8b84c25809 Fixing some bogus sql 2004-03-15 20:24:13 +00:00
tipaul
f981c4c15f introducing new features :
* search on non marc fields : the marc field is found by a sub in Biblio.pm
* ordering a search

This commit shows the sql in log. Pls test it's correctly indexed (using : explain <sql_in_log>)
2004-03-15 14:34:18 +00:00
tipaul
f3ab1904dc missing my 2004-03-15 14:32:40 +00:00
tipaul
5c1ba0f7b8 adding a minor check 2004-03-15 14:31:50 +00:00
tipaul
0b468a1a96 *** empty log message *** 2004-03-11 16:06:20 +00:00
acli
29b1df6046 Various updates/fixes from rel_2_0
Fixes for bugs 721 (templating), 727, and 734
2004-03-07 05:47:31 +00:00
rangi
adc12a8cd8 Starting on C4::Query,
Currently doesnt do anything much at all.
Im building a skeleton module then ill flesh it out
2004-03-07 01:49:34 +00:00
rangi
795a46d49f Got rid of the last error message -1 bug 2004-03-06 21:26:44 +00:00
tipaul
1498ce1415 adding seealso feature in MARC searches 2004-03-06 20:26:13 +00:00
tipaul
7d08d249a0 adding LDAP auth.
Introduce a new Perl dependency Net:LDAP
2004-03-04 16:49:09 +00:00
tipaul
b5113b8e5b unsued package. beginning code cleaning 2004-03-04 15:39:41 +00:00