Commit Graph

60 Commits

Author SHA1 Message Date
kados 2dc39c9670 typo from previous commit 2006-02-23 03:20:24 +00:00
kados 53125fe150 Adds the option to sort titles by nonfilingchars in MARC records. Note
that for systems with a lot of records (more than 100,000) this will be
a significant performance hit. Also note that if you don't have your
syspref for sortbynonfiling chars set the code will not execute.
2006-02-23 03:16:37 +00:00
thd 85d05e9f1e Synchronised getMARCsubjects in rel_2_2 with HEAD. 2006-02-18 08:41:44 +00:00
tipaul d585024225 removing warning 2005-12-14 15:58:23 +00:00
tipaul 211b2afb74 small bug, large effects.
there was a SQL statement added when 2 search term were separated by 2 empty char (spaces, comma, dot...) or more.
2005-12-14 15:58:03 +00:00
tipaul eeea163fd8 small fix for recent acq 2005-12-01 15:30:53 +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 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 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 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
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
tipaul d9451f0055 adding a systempref to choose either to show or hide "lost" items. Note that "lost items" can be related to an authorised value list, so does not necessary mean "item definetly lost". Even here, some libraries want to see lost items, and some don't want. This parameter will make everybody happy ! 2005-06-06 15:23:35 +00:00
joshferraro 0f4198465e Fixes the bug where lost items are displyed in the initial search results
screen.
2005-05-21 03:11:04 +00:00
tipaul d48e107c79 *** empty log message *** 2005-04-07 10:06:02 +00:00
tipaul 268af2983a Also retrieve itemtype description in result array. Now available for templates 2005-03-25 16:32:27 +00:00
tipaul f5d9d72494 * setting not for loan on item if itemtype is not for loan
* removing "not reservable" for not for loan items (the info is in the previous column)
* setting "request" button to css=button as all other buttons !
2005-03-18 08:51:26 +00:00
tipaul 1115e1a281 adding asc or desc selector to order a search as the user want (patch from doXulting for ENSMP) 2005-03-07 09:49:06 +00:00
tipaul 9110e9edef item status (opac & librarian interfaces) The item status has been improved : It now can be :
- on order (= item has been ordered, but not yet arrived at the library)
- not for loan : if the "notforloan" field is mapped to an authorised value list, the right value is shown. Thus, an item can be "lost" or "being repaired", or whatever you put in the authorised values list. (reminder : the "notforloan" field, when 0 means 'ok, book can be issued', and all other values means 'nok, book can't be issued' (whatever the reason, that can be in the authorised value table)
2005-02-28 14:25:19 +00:00
tipaul ec5e965c9c removing 2 useless lines 2005-02-24 13:52:33 +00:00
joshferraro 310dd4ae51 Adds subtitles to initial results (TMPL_VAR NAME=subtitle needs to be added still) 2005-02-23 17:03:45 +00:00
joshferraro 3fb371a896 Fixes bug 920: The problem was that getMARCnotes had the variable set to be the same as the loop name. 2005-02-22 22:32:00 +00:00
tipaul c61022bf82 removing warning 2005-01-11 15:10:49 +00:00
tipaul 5aa60ee667 * bugfix for the search on a MARC detail, when you clic on the magnifying glass (caused an internal server error)
* partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic.
2005-01-03 10:48:33 +00:00
tipaul 7de6ee8e75 limiting the number of search term to 8. There was no limit before, but 8 words seems to be the upper limit mySQL can deal with (in less than a second. tested on a DB with 13 000 items)
In 2.4, a new DB structure will highly speed things and this limit will be removed.
FindDuplicate is activated again, the perf problems were due to this problem.
2004-12-10 16:27:53 +00:00
tipaul 013ae858cd * fixing "start by" operator
* in biblio search, - and other signs where not properly managed. Leroy-Beaulieu could not be found
2004-12-08 10:21:46 +00:00
tipaul caf9b3c04b * critical fix for acquisition (see RC3 release notes)
* critical fix for duplicate finder
2004-11-24 15:58:31 +00:00
tipaul 661080d2fd fixing but to remove "request" link on "notforloan" materials 2004-11-18 10:34:24 +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
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 e49f99e9db POD documenting 2004-09-23 16:16:24 +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 d9dcfbeb7a warn removes + fix for item count 2004-09-13 15:23:35 +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
shedges 1e02b5b4aa added getMARCnotes and getMARCsubjects functions. 2004-08-17 20:53:34 +00:00
tipaul 11846f098d some improvements in SearchMarc 2004-06-22 15:33:30 +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 b6cc6680dc merging tag & subfield in marc_word for better perfs 2004-06-17 08:16:32 +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 83901a889f adding bibid to the result list 2004-06-03 10:06:27 +00:00
tipaul 1a5963a30a minor fixes (odd/even lines bug) 2004-05-28 16:14:40 +00:00
tipaul 59ae3d902f hidding hidden & isurl constraints into MARC subfield structure 2004-05-28 08:24:14 +00:00
tipaul ec64f1fcd8 Marc search ported to OPAC.
seems to work fine
2004-05-10 09:24:14 +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 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