Commit graph

633 commits

Author SHA1 Message Date
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
tipaul
45d347b60e unsued package. beginning code cleaning 2004-03-04 15:32:46 +00:00
tipaul
e2b33cc485 bugfix (wrong synch with rel_2_0) 2004-02-20 10:34:59 +00:00
tipaul
15defe58a9 deleting subs duplicated by error 2004-02-12 13:40:56 +00:00
tipaul
58951e551f new feature : stocktaking/inventory.
Look in reports menu
(no DB changes)
2004-02-12 09:16:18 +00:00
tipaul
af08d677c5 synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
tipaul
3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
acli
1286644ded This allows the user to type zh_TW and still get Chinese from the zh-TW
directory.
2004-02-10 00:43:21 +00:00
rangi
d9bda8b778 Fix for bug 605, committing here as well as the stable branch 2004-01-15 23:33:29 +00:00
tipaul
f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul
864f90efd4 fix for #318 2003-12-19 14:44:46 +00:00
slef
8a7d5ff66c DBI call fix for bug 662 2003-12-17 01:28:31 +00:00
slef
928d76058a DBI call fix for bug 662 2003-12-15 16:18:45 +00:00
slef
2075e13bf7 DBI call fix for bug 662 2003-12-15 16:07:36 +00:00
tipaul
3d031f028b fixing bug that duplicates entries under certain circumstances 2003-12-15 14:38:59 +00:00
slef
cba24ae2fe DBI call fix for bug 662 2003-12-15 13:41:43 +00:00
slef
2c26573466 DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
slef
dc8e00e1c1 DBI call fix for bug 662 2003-12-15 10:49:46 +00:00
slef
b357beb032 Fix for bug reported by Owen 2003-12-14 17:25:37 +00:00
tipaul
571906a1a4 fixing compilation bugs 2003-12-11 12:56:34 +00:00
tipaul
3e4c958855 rolling back to working char_decode sub 2003-12-09 15:57:28 +00:00
slef
626bf007eb DBI call fix for bug 662 2003-12-09 15:03:00 +00:00
slef
0ea2a70c59 DBI call fix for bug 662 2003-12-09 14:47:38 +00:00
tipaul
cf802b5ad8 new feature : recent acquisition in opac. 2003-12-08 16:27:10 +00:00
slef
8b66c677e5 DBI call fix for bug 662 2003-12-08 14:45:30 +00:00
slef
7f1072e28f DBI call fix for bug 662 2003-12-08 14:24:55 +00:00
slef
732e834edf DBI call fix for bug 662 2003-12-08 14:14:56 +00:00
slef
c3491a735e DBI call fixes for bug 662 2003-12-08 14:08:49 +00:00
tipaul
fbce422b4e prepare(?) execute($var) fixes 2003-12-04 09:33:32 +00:00
tipaul
87819d35b1 bugfixes for biblio deletion 2003-12-03 17:47:14 +00:00
slef
a1d31b88e7 DBI fixes for bug 662 2003-12-03 12:09:44 +00:00
slef
8f6f8b99a9 DBI changes fixing bug 662 2003-12-03 12:05:40 +00:00
slef
7784d816a1 DBI fixes re bug 662. Removed worrying suggestion to use dbh->do in comments. 2003-12-03 11:51:52 +00:00
slef
76dc65f2ca DBI fixes as part of bug 662 2003-12-03 11:43:12 +00:00
slef
6ef083647e DBI changes as part of bug 662 2003-12-03 11:41:04 +00:00
slef
7734f87d73 fixes for bug 662, securing prepare 2003-12-03 02:19:25 +00:00
slef
49b6f7872f conflict markers? 2003-12-03 01:43:41 +00:00
slef
7b5ebdd51b bug 662 fixes securing DBI 2003-12-03 01:42:03 +00:00
slef
571d609ccd fix for bug 600 2003-12-02 22:13:25 +00:00
tipaul
802f047806 prepare(?) & execute($var) modif 2003-11-28 14:06:57 +00:00
tipaul
496c07ede0 bugfix : misusing prepare & execute => now using prepare(?) and execute($var) 2003-11-28 09:48:33 +00:00
tipaul
ef5134635a bugfix for iso2709 file import in the "notforloan" field.
But notforloan field called "loan" somewhere, so in case "loan" is used, copied to "notforloan" to avoid a bug.
2003-11-28 09:45:25 +00:00
tipaul
e5fddea941 fix for #385 2003-11-24 17:40:14 +00:00
tipaul
e0759d0934 fixing a bug in searches with stopwords (that where not dropped).
Moving "contains" as 1st choice for the search (= default one)
2003-11-24 16:53:10 +00:00
tipaul
6eb2c6141d biblio & item deletion now works fine in MARC editor.
Stores deleted biblio/item in the marc field of the deletedbiblio/deleteditem table.
2003-11-24 16:28:49 +00:00
tipaul
4a98096d23 execute($var) with ? bugfix 2003-11-24 16:24:24 +00:00
tipaul
49d00491c8 moving $id from beginning to end of file (70 commits... huge comments...) 2003-11-24 13:29:55 +00:00
tipaul
4333350f43 fix for #380 (bibliosubject) 2003-11-24 13:27:17 +00:00
tipaul
c196693358 minor fixes in thesaurus_popup & authorities.pm
NEW plugin : the plugin that manages 60X field in UNIMARC (i think it's the same in marc21). Used to search a thesaurus entry & parse bibliothesaurus table for category NC (Common Name in french).
The user can enter a search term, and see entries corresponding. If the search is a real entry in the thesaurus, and this entry has dependencies, they are shown too.
For example, if the thesaurus contains :
Geo -- Europe -- France -- Marseille
Geo -- Europe -- France -- Paris
Hist -- Europe -- France -- Revolution

A search on "France"
shows
Geo --Europe --France and Hist -- Europe -- France on the left panel
When the user clic on Geo -- Europe -- France,
Marseille & Paris are shown on the right panel.

When the user selects a value, it's reported to the MARC editor.

NOTE : template ONLY IN FRENCH (but it's 11PM for instance, & i plan to go to bed :-) )
2003-11-14 22:00:42 +00:00
tipaul
073d2233cc bugfix for #384
1st draft for MARC biblio deletion.
Still does not work well, but at least, Biblio.pm compiles & it should'nt break too many things
(Note the trash in the MARCdetail, but don't use it, please :-) )
2003-11-06 17:18:30 +00:00
rangi
9c998cda51 Fix for bug 535, and adding the classification column to the variables
available to the template
2003-11-04 19:48:50 +00:00
tipaul
11a414089f removing warning 2003-11-03 13:29:05 +00:00
rangi
5a808e96ef Fix for bug 621,
Returns not marking reserves waiting
2003-10-28 19:34:05 +00:00
tipaul
98884012cf minor fixes for bilbio deletion (still buggy) 2003-10-25 08:46:27 +00:00
tipaul
1af44318c6 Indexing only words longer than 2 letters. Was >=2 before, & 2 letters words usually means nothing. 2003-10-17 10:02:56 +00:00
tipaul
0d96be2e29 adding rebuildnonmarc.pl script : run this script when you change a link between marc and non MARC DB. It rebuilds the non-MARC DB (long operation) 2003-10-14 09:45:29 +00:00
tipaul
31a590d4ad fix for 536 (subtitle error) 2003-10-06 15:20:51 +00:00
tipaul
6cf22bce6d fix fog bug #622 : processz3950queue fails 2003-10-01 15:08:14 +00:00
tipaul
4434389d57 seems a char encoding problem modified something in char_decode sub... changing back to something that works... 2003-10-01 13:25:49 +00:00
rangi
425d7eb54f Fix for bug 618
duplicate cardnumber checking
2003-09-25 09:23:26 +00:00
tipaul
323642f5a1 all those fixes are related to translation improvement.
A few minor bugfixes too in perl code.

NOTE TO ENGLISH "TEMPLATORS" : you should look at this commits, as some ideas are really nice.  Thanks to Carole, Wesford School, new Koha user in France :-)
2003-09-18 10:19:28 +00:00
tipaul
139775d7c7 fixing bug that makes a MARC biblio disappear when using full acquisition (order => recieve ==> MARC editor).
Before this 2 lines fix, the MARC biblio was deleted during recieve, and had to be entirely recreated :-(
2003-09-17 14:21:13 +00:00
tipaul
64d6029a7d notforloan value in itemtype was overwritting notforloan value in a given item.
I changed this behaviour :
if notforloan is set for a given item, and NOT for all items from this itemtype, the notforloan is kept.
If notforloan is set for itemtype, it's used (and impossible to loan a specific item from this itemtype)
2003-09-17 10:24:39 +00:00
tipaul
45414c767b remove trailing , in subject list 2003-09-17 10:20:12 +00:00
rangi
b1acf4e1b4 Fix for bug 603 2003-09-12 00:46:21 +00:00
rangi
8d8102cdc3 Fix for showing the current borrower on the moredetail.pl page 2003-09-11 22:03:43 +00:00
tipaul
f2c07bb529 bugfix : biblios without isbn where not added into the breeding farm 2003-09-08 08:42:40 +00:00
tipaul
b36dc7537c fix for 593 (data duplication in MARC-DB) 2003-09-04 14:11:23 +00:00
tipaul
8bc5e4ab66 fix for 583 (values in marc_word table should have quotation marks, etc, stripped) 2003-09-04 10:17:07 +00:00
rangi
d7bf28d524 Fix for bug 562 2003-09-03 19:41:22 +00:00
tipaul
1b6d041c9c removing "warn" 2003-09-03 15:01:50 +00:00
wolfpac444
97350a2d42 Added support for author searching to KeywordSearch 2003-08-10 00:38:47 +00:00
tipaul
78c8b66905 fix for 570 : If a subject search is done from the OPAC or Intranet Catalogue, duplicate
results are returned.  For instance, if a search for 'dogs' returns 25 results
that have the subject 'dogs,' there will be 25 duplicate listings in the results.
2003-08-08 15:25:27 +00:00
tipaul
83cca02a46 fix for publicationyear : extracting numeric value from MARC string, like for copyrightdate.
(note that copyrightdate still extracted to get numeric format)
2003-08-06 12:54:52 +00:00
tipaul
b42279581b adding demo mode 2003-08-06 12:38:27 +00:00
tipaul
db8f840838 fix for 556 2003-08-06 12:37:54 +00:00
rangi
e6a4f80040 Another attempted fix for issuing bug, can NPL test this please.
It seems to be working ok for me
2003-08-04 01:53:55 +00:00
rangi
e0e3784e8b Fix for bug 293 2003-07-24 09:17:42 +00:00
slef
bdd6346c90 change show columns to use biblioitems bnotes too 2003-07-15 23:09:18 +00:00
slef
c72ec1dc6a fixes from paul email 2003-07-15 11:34:52 +00:00
slef
d0f40352af Work on bug 515... can we do a single-side rename of notes to bnotes? 2003-07-15 00:02:49 +00:00
tipaul
125530b3e3 *** empty log message *** 2003-07-11 11:51:32 +00:00
tipaul
af76ab2d58 typo fix 2003-07-10 12:24:20 +00:00
tipaul
cdb9220d74 fix for copyrightdate problem, #514 2003-07-10 10:37:19 +00:00
cauchoip
4309657656 small fixes (sql query formatting problems) 2003-07-10 10:19:21 +00:00
plugz
d3ccb3148f Searches with NOT are now fully functionnal
Can create SQL request for any number of statements.
FIXED: splits entry if operator is "contains" and the value is like "foo bar boo"
2003-07-08 11:59:08 +00:00
tipaul
354b08cb47 removing warnings 2003-07-07 14:43:58 +00:00
tipaul
bf1a858645 improving checkdigit sub. 2003-07-07 14:43:42 +00:00
tipaul
62361b7308 dramatically improves search speed when searching something OR somethingelse 2003-07-03 12:48:33 +00:00
tipaul
f1f7658357 fix for #519 : items.dateaccessioned imports incorrectly 2003-07-02 14:47:17 +00:00
tipaul
f558018f3d fix for #512 (not sure it's enogh. to be checked by NPL) 2003-07-02 13:57:13 +00:00
tipaul
71817b0ab1 fixing bug in thesaurus entry modification 2003-07-02 12:49:43 +00:00
wolfpac444
2ee3977b0e *** empty log message *** 2003-07-01 17:22:17 +00:00
plugz
bee78deec1 Added &getbranchname and &getborrowercategory
getbranchname : given branchcode returns branch name
getborrowercategory : given categorycode returns description
2003-07-01 10:30:05 +00:00
plugz
878b64dadd FIX: Incorrect parameters given to function Stats::UpdateStats in
issuebook and returnbook functions
2003-06-20 12:48:09 +00:00
plugz
e1e291d69b FIX: Incorrect values inserted in database. used '$a' instead of $a 2003-06-20 12:34:48 +00:00
plugz
47d135f123 Bugfix for #499
Simple search added, searching in the first letter of surnames.
Added commentary inside Search.pm for explanations
2003-06-20 08:48:16 +00:00
plugz
94ac73b0d3 bugfix for #499
The BornameSearch function now uses the $type parameter
Single and advanced search methods implemented.
Advanced is the old version.
Single only looks for $member% in surnames.
2003-06-19 16:14:30 +00:00
tipaul
bb7fecd745 improvments/fixes for z3950 support.
* Works now even on ADD, not only on MODIFY
* able to search on ISBN, author, title
2003-06-17 11:21:12 +00:00
rangi
63fc432b9e Fixing a bug ine sql 2003-06-17 08:48:24 +00:00
rangi
5bfaef8cfb Just added an order clause to getitemtypes 2003-06-16 09:22:53 +00:00
rangi
fc78b91222 Ordering branches by branchname 2003-06-16 09:19:44 +00:00
tonnesen
66bf985d0a Added two new routines for getting a list of available themes/languages (used
by new systempreferences.pl script to present a list of available themes or
languages).
2003-06-11 18:48:07 +00:00
tonnesen
c41c02271d Changing "preference()" calls to "boolean_preference()" calls 2003-06-11 18:44:01 +00:00
tonnesen
3ba349bd4e Increased default inactivity timeout from 2 minutes to 5 minutes. 2003-06-11 18:40:53 +00:00
tipaul
a72d9621ae removing searchborrower from circ2.pm.
Already exists in Search.pm
this fixes bug #439 and improve consistency.
2003-06-05 17:03:31 +00:00
rangi
f2b1c3d3a2 Fixing a bug that was breaking adding or modifying suppliers 2003-05-30 21:22:49 +00:00
tipaul
27edbcc574 fixing typo in Biblio.pm POD 2003-05-20 16:22:44 +00:00
tipaul
d8551b19c2 * PARTIAL fix for #322 => gives strange results imho
* removing unused subs
* indenting with tabs
* adding monthly report (stats.pl?time=month)
2003-05-19 16:20:51 +00:00
tipaul
fffb89aef4 fixing strange bug when cardnumber not set and borrower does not exists : sometimes finded value anyway ! 2003-05-19 14:55:32 +00:00
wolfpac444
9f32a8adf0 Bug fixes. 2003-05-19 13:59:12 +00:00
tipaul
7a95c1d809 support for subtitles, additional authors, subject.
This supports is only for MARC <-> OLD-DB link. It worked previously, but values entered as MARC were not reported to OLD-DB, neither values entered as OLD-DB were reported to MARC.
Note that some OLD-DB subs are strange (dummy ?) see OLDmodsubject, OLDmodsubtitle, OLDmodaddiauthor in C4/Biblio.pm
For example it seems impossible to have more that 1 addi author and 1 subtitle. In MARC it's not the case. So, if you enter more than one, I'm afraid only the LAST will be stored.
2003-05-19 13:45:18 +00:00
wolfpac444
5169e23b54 Fixed theme/language templating in intranet. 2003-05-13 05:10:07 +00:00
wolfpac444
0499df0045 Fixed bug #405 2003-05-08 14:12:29 +00:00
wolfpac444
8b4a044bb5 Changed the scripts to use format_date 2003-05-08 13:19:39 +00:00
wolfpac444
00fef22485 Added "noissuescharge" parameter 2003-05-08 12:48:23 +00:00
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