Commit graph

405 commits

Author SHA1 Message Date
tipaul
368d9107a2 moving loggedinuser => loggedinusername in includes and Auth.pm :
The $loggedinuser in Koha is the CODE of the logged user (result of get_user_and_template subroutine).
BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced by the NAME of the user.
This is troubleshooting.
so, I replace the name by the "loggedinusername" template variable.
If you want to add the username somewhere, just add <TMPL_VAR name="loggedinusername"> in the template.

Fixes bug #401
2003-05-05 15:00:53 +00:00
tipaul
1a218daf74 fix : when a book is taken and marked "not returned yet", it's now marked returned and issue done. 2003-05-05 14:14:28 +00:00
wolfpac444
b65bd46a6b *** empty log message *** 2003-05-05 11:51:20 +00:00
tipaul
fa5d7968a2 missing " 2003-05-05 10:11:34 +00:00
tipaul
3c4012d4de fix for 191, code reindenting & some query improvment 2003-05-05 09:41:03 +00:00
tipaul
7608bee7cf removing warnings 2003-05-02 13:07:14 +00:00
tipaul
5a54bfc1ae *** empty log message *** 2003-05-02 13:05:08 +00:00
rangi
76b467c900 renewbook is used by renewscript.pl
Making sure characters are escaped in the database insert
2003-04-30 22:55:54 +00:00
tipaul
22567447ce *** empty log message *** 2003-04-29 16:51:15 +00:00
tipaul
26543b430e really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
2003-04-29 16:48:25 +00:00
tipaul
a3c119a356 z3950 support is coming...
* adding a syntax column in z3950 table = this column will say wether the z3950 must be called with PerferedRecordsyntax => USMARC or PerferedRecordsyntax => UNIMARC. I tried some french UNIMARC z3950 servers, and some only send USMARC, some only UNIMARC, some can answer with both.
Note this is a 1st draft. More to follow (today ? I hope).
2003-04-29 08:09:42 +00:00
tipaul
e5bbeace3d Those fixes solves the "internal server error" with MARC::Record 1.12.
It was due to an illegal contruction in Koha : we tried to retrive subfields from <10 tags.
That's not possible. MARC::Record accepted this in 0.93 version, but it was fixed after.
Now, the construct/retrieving is OK !
2003-04-28 13:07:14 +00:00
tipaul
4b18c35c6f fix for #410 2003-04-24 18:28:40 +00:00
tipaul
e565c001ee some fixes 2003-04-24 16:29:09 +00:00
tipaul
d215d11c3d fix for 361 2003-04-24 16:28:47 +00:00
tipaul
e57535b581 fix for #297 and some others bugs 2003-04-23 12:20:26 +00:00
tipaul
a118eeacfc 1st draft for z3950 client import.
moving Breeding farm script to a perl package C4/Breeding.pm
2003-04-22 12:22:52 +00:00
tipaul
7d34ac8ec4 *** empty log message *** 2003-04-11 08:41:06 +00:00
tipaul
88867f1426 Fix some bugs :
* worked in 1.9.0, but not in 1.9.1 :
- modif of a biblio didn't work
- empty fields where not shown when modifying a biblio. empty fields managed by the library (ie in tab 0->9 in MARC parameter table) MUST be entered, even if not presented.

* did not work before :
- repeatable subfields now works correctly. Enter 2 subfields separated by | and they will be splitted during saving.
- dropped the last subfield of the MARC form :-(

Internal changes :
- MARCmodbiblio now works by deleting and recreating the biblio. It's not perf optimized, but MARC is a "do_something_impossible_to_trace" standard, so, it's the best solution. not a problem for me, as biblio are rarely modified.
Note the MARCdelbiblio has been rewritted to enable deletion of a biblio WITHOUT deleting items.
2003-04-10 13:56:02 +00:00
tipaul
533c38dc8f fix for #229 2003-04-08 11:30:55 +00:00
tipaul
844797459f fix for #187 2003-04-07 14:05:24 +00:00
wolfpac444
e4d7a39bab Fixed the dates in aqbudget.pl 2003-04-05 03:19:33 +00:00
tipaul
e60f831e1f last commits before 1.9.1 2003-04-04 08:40:44 +00:00
wolfpac444
6b0a39e5bb Fixed bug #250 2003-04-04 08:04:16 +00:00
wolfpac444
a5587ab3a2 Added Paul's changes to the version that should be current. I have been having problems with my version reverting back to an old
one.
2003-04-03 01:28:28 +00:00
tipaul
cc35b709e1 small fix to avoid empty list when itemtypes does'nt exist in DB 2003-04-01 13:19:55 +00:00
tipaul
452e65166c fixes 2003-04-01 12:26:43 +00:00
tipaul
674c150697 small improvment 2003-04-01 12:26:02 +00:00
wolfpac444
16f422a8f7 Bug fixes 2003-03-29 00:02:24 +00:00
wolfpac444
4dd0e8d2fb Here we go again... 2003-03-28 23:08:30 +00:00
wolfpac444
ca0bf13bd0 Fixed bug #241 2003-03-28 23:03:51 +00:00
wolfpac444
333e222461 *** empty log message *** 2003-03-26 04:42:56 +00:00
wolfpac444
14809df133 *** empty log message *** 2003-03-26 04:42:56 +00:00
wolfpac444
00d780e00e Hmm.. having problems getting my changes to Date.pm saved... 2003-03-26 04:09:06 +00:00
wolfpac444
20da23088a Added format_date_in_iso function. 2003-03-26 03:57:10 +00:00
wolfpac444
28be0337c5 Fixed problems with non-US date such as 28/10/1983. 2003-03-26 03:46:20 +00:00
wolfpac444
feb424a443 Module to format dates in the correct manner. 2003-03-26 02:48:59 +00:00
tipaul
86631c1a8e fix for bug #54 2003-03-19 21:37:21 +00:00
tipaul
3205a1a3ff reindenting & code cleaning 2003-03-19 21:03:32 +00:00
tipaul
feae3136b4 adding checkdigit parameter that choose how to check the members cardnumber.
At the moment :
* none = no checking
* katipo = checked as before
2003-03-18 10:58:19 +00:00
tipaul
9658d683f6 pod updating 2003-03-11 15:14:03 +00:00
tipaul
b9fbe0083f *** empty log message *** 2003-03-10 15:19:33 +00:00
tipaul
1b0620652e * moving generic functions to Koha.pm
* improvement of SearchMarc.pm
* bugfixes
* code cleaning
2003-03-07 16:35:42 +00:00
tipaul
f953c4a169 adding "interface" parameter : /intranet-tmpl or /opac-tmpl 2003-03-04 17:49:50 +00:00
tipaul
4b2c43a9a9 bugfix for bookseller forgot and minor sql improvement 2003-03-03 17:37:34 +00:00
tipaul
867a82398e migrating to prepare (?) execute($var) structure 2003-03-03 17:36:32 +00:00
tipaul
69a3b7e8ae small bugfix 2003-02-28 16:29:11 +00:00
tipaul
fe8746a471 * moving prepare / execute to ? form.
* some # cleaning
* little bugfix.
* road to 1.9.2 => acquisition and cataloguing merging
2003-02-27 16:51:59 +00:00
wolfpac444
4e3888e2ec Fixed the subject search. 2003-02-21 02:25:03 +00:00
wolfpac444
c3c3f27ec7 *** empty log message *** 2003-02-19 01:33:52 +00:00