Commit graph

57 commits

Author SHA1 Message Date
kados
a3ff047944 use new Context->Zconn object 2006-02-27 01:10:14 +00:00
thd
7bf048e8a8 Quick fix for functional bug in getMARCsubjects to avoid returning values that
vary between different uses of the same authorised subject heading causing
linked subject searches from the detail view to fail.  Other presentation fixes
within getMARCsubjects.
2006-02-16 03:12:15 +00:00
tipaul
b69a6736cb (chris, read carefully)
Replacing zebraserver and zebraport by zebradb in koha.conf . The zebra connexion can be done in a single variable "server:port/database". I used this in dirty searchMarc.pm as well as in Biblio.pm. I've replaced your code in Search.pm
2006-02-14 11:23:38 +00:00
tipaul
e16ded6012 fixing bugs for :
* search on 2 words "applied chaos"
* retrieve results when there's only 1 answer
(still dirty & to be rewritten by chris, but it's useful for me)
2006-02-14 10:54:02 +00:00
rangi
85fba5d72f Just a little fix while im testing 2006-02-13 23:52:04 +00:00
tipaul
040dbceb73 some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
2006-02-13 16:35:37 +00:00
tipaul
b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
tipaul
07ea313528 new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You will see around 20 nice images to choose between (thanks to owen). If you prefer your own image, you also can type a complete url (http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the picture instead of the text itemtype.
2005-09-02 14:28:38 +00:00
tipaul
ba3339c4e8 searching with the zebra.
replacing 2.2 marc search by a Net::z3950 search (waiting for Perl/Zoom)
works only for title/author/isbn search, any other search is considered as 'keywork search' (=anywhere
2005-08-12 13:51:48 +00:00
tipaul
2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00
genjimoto
91fe8eb8e0 New code making a search not needing to use tables not already used in searching.. doesn't take longer than normal. Achieved via new parameter in Catalogsearch called $extratables. 2005-06-25 05:35:29 +00:00
tipaul
6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
hdl
1d4d3bdaef Deleting joined tables without condition.
Issues, reserves, items.
Major Bug fixed : Catalogsearch would work no more.
2005-06-15 13:21:22 +00:00
genjimoto
09aec48554 Added necessary tables for search for availablity feature into Catalogsearch. Someone needs to speed it up somehow. 2005-06-03 03:58:26 +00:00
genjimoto
8e62940ba0 New Feature: catalogsearch() has a new parameter, $sqlstring. A developer puts into it whatever they want to tack onto the end of the where statement. See usage in opac-search.pl 2005-06-01 21:18:39 +00:00
tipaul
369527637b synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
tipaul
4a8159b457 oups, sorry, synch'ing badly (dropping a doXulting improvement : selecting either desc or asc order) 2005-03-07 09:09:03 +00:00
tipaul
1923629300 synch'ing with 2.2 2005-03-07 08:55:29 +00:00
doxulting
ec62b5e32a Added a param to catalogsearch to allow selection of order (ASC or DESC) 2005-03-03 09:32:04 +00:00
tipaul
93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
joshferraro
86197b08b8 Fix for bug 920. The problem was that getMARCnotes had the variable set to be the same as the
loop name.
2005-02-22 22:38:21 +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
tipaul
1498ce1415 adding seealso feature in MARC searches 2004-03-06 20:26:13 +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
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