Henri-Damien LAURENT
065870272b
BUG Fixing : NoZebra search
...
Bug fixing search on alphanumeral string such as EN0 couldnot work.
Bug fixing AND would be too much restrictive on results (required count of occurence of search criteria to be the same).
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 18:38:44 -06:00
Henri-Damien LAURENT
e84d4158a3
SearchNZ : multiple words AND was an OR
...
my $biblionumbers was badly placed
renaming operand into operator
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 18:37:47 -06:00
Joshua Ferraro
3edaba0cc0
fixes to search results list, ccl.properties tweak
...
patch updateitem.pl (was failing ... missing 'my')
update OPAC results
fix limit by availability
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 17:35:46 -06:00
Chris Nighswonger
64a4eddd44
2nd try:Fixed buggy NoZebra cataloguing search when search term does not exist in any record.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 07:34:09 -06:00
Chris Nighswonger
6d13d44655
Fixed buggy NoZebra cataloguing search when search term does not exist in any record.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-20 07:34:06 -06:00
Joshua Ferraro
de04e990f2
Merge branch 'master' of http://manage-gmc.dev.kohalibrary.com/koha-installer
2007-12-19 13:48:55 -06:00
Joshua Ferraro
b079651843
incorect syntax fix
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 19:34:48 -06:00
Galen Charlton
d579648df1
Merge git://git.koha.org/pub/scm/koha
2007-12-18 17:46:54 -06:00
Mason James
163d3f4bd6
index=kw searches now search all indexes for nozebra
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 16:39:17 -06:00
Joshua Ferraro
a65502ba1a
case-insensitive match on query highlighting
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 04:47:17 -06:00
Joshua Ferraro
7a3e596813
fix for bug 1658: <span class="term"> in search terms
...
Also, adds google-style search query highlighting anywhere
in the record
Need to check if this fix is in the OPAC
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-18 04:47:16 -06:00
Joshua Ferraro
795463f55b
fix for bug 1604: when doing a 'scan', "count" isn't displayed
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 22:28:59 -06:00
Joshua Ferraro
c9dabd5d22
improvements to query_desc and limit_desc
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:52:42 -06:00
Joshua Ferraro
fcc3986cfd
Updates to date indexing and search processing
...
Summary of Koha 3.0 date indexing for MARC21:
Index Expected format Notes
-----------------------------------------------------
date-entered-on-file [yymmdd] (008/0-5, indexed in word and sort indexes)
copydate [yyyy] (260$c, indexed in word and sort indexes)
acqdate [yyyy-mm-dd] (952$d, indexed in date,word,sort indexes)
pubdate [yyyy] (008/7-10, indexed in year,word,sort indexes)
Template Search Parameters Tested:
limit-yr (either yyyy or yyyy-yyyy) (added processing for ge le, structure attribute st-numeric, etc.)
yr pubdate (yyyy)
acqdate,st-date-normalized (yyyy-mm-dd)
Template Sort Parameters Tested:
pubdate_dsc
pubdate_asc
acqdate_dsc
acqdate_asc
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:00:30 -06:00
Joshua Ferraro
bbe759bde6
fix to add wordlist default when QueryStemming is off
...
also, a fix to default behavior when QueryWeighting is off
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-17 12:00:18 -06:00
Galen Charlton
f5903fbbb5
installer: location of koha-conf.xml
...
* rewrite-config.PL now puts in installed location
of koha-conf.xml in C4/Context.pm so that
correct config can be found even when
KOHA_CONF is not set. Note that setting KOHA_CONF
will still override path set by installer.
* changed references from koha.xml to koha-conf.xml
2007-12-17 09:13:53 -06:00
Mason James
0c254c1f1f
quickfix for adv. searching in nozebra.
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-14 23:05:36 -06:00
Paul POULAIN
6da5ad063f
NoZera don't handle fuzzy/stemming/weight
...
so ignoring those sysprefs
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:57:03 -06:00
Joshua Ferraro
1cd20471ba
fix for bug introduced recently if due_date is null, search failed
2007-12-13 04:28:35 -06:00
Joe Atzberger
12cf1799fe
Search.pm -- Dates.pm (the correct way) and remove hard coded (on) DEBUG variable!
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:51:30 -06:00
Galen Charlton
c8a9dfa398
bugfix: catch ZOOM exceptions in simple Search.pm
...
Now warns and returns error value, instead of aborting
the calling CGI.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-08 07:28:15 -06:00
Henri-Damien LAURENT
8afd53e333
Bug fixing : infinite loop when repeated operator + distinguishing operators
...
limits would provide with unnecessary repeated "and"
Thus causing wild loop
So removing them.
aud was transformed into author when it qualified audience.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:58:43 -06:00
root
3ddff0ce41
Bug Fixing : NZsearch
...
parenthesis introduce a priority.
yr:XXXX-YYYY is now processed correctly.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:57:54 -06:00
Paul POULAIN
f5cddc0807
when the result has an author as search term, the link contained the <span style="term"> in it
...
this fix add a author_nospan, that contains the author in it's native form
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:49:01 -06:00
Joshua Ferraro
a508bc1cd2
s/mt/itemtype/ for FindDuplicate
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 21:44:06 -06:00
Joshua Ferraro
62ce10a838
adding maxItemsToDisplay
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 19:32:34 -06:00
Joshua Ferraro
01f9fd779a
fixes to scan
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:28:08 -06:00
Joshua Ferraro
937bb38e6a
fix for bug 1208, exact barcode search
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:28:04 -06:00
Joshua Ferraro
bdf7a55110
adding result_number to opac and staff search
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:26:59 -06:00
Joshua Ferraro
7b4c5fd8e0
searchdesc improvements, more opac fixes
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:26:35 -06:00
Joshua Ferraro
5e469596da
fixing limit by availability, using nifty _ALLRECORDS in Zebra
...
to handle NULL values
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:26:20 -06:00
Joshua Ferraro
13f7700b75
adding a space between query and limit concat
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:25:38 -06:00
Joshua Ferraro
88439343a0
adding flags for some advanced search features
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:25:22 -06:00
Joshua Ferraro
8aa3ff52a9
telling the user what stopwords have been removed from the
...
query -- can be quite confusing if you don't know!
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 16:25:00 -06:00
Joshua Ferraro
27c455cf97
more work on nozebra
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-24 09:07:50 -06:00
Joshua Ferraro
cee40a741d
adding $DEBUG warnings to nozebra
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-24 09:07:44 -06:00
Joshua Ferraro
daf43e4a63
switching from searchdesc to query_desc and limit_desc,
...
searchdesc is now just a flag
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 18:40:53 -06:00
Joshua Ferraro
c698f23940
removing sanatized operand, we can now handle non-sanatized operands
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 18:08:40 -06:00
Joshua Ferraro
4169f6d5e8
adding query_inputs to build the query as a set of hidden inputs
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 18:08:31 -06:00
Joshua Ferraro
8a9b2d3d63
adding query_cgi to facets
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:13:12 -06:00
Joshua Ferraro
abeafbf079
fixing page numbers to use query_cgi
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:13:02 -06:00
Joshua Ferraro
a4c187e895
more fixes: limit by branch working
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:12:51 -06:00
Joshua Ferraro
fc60b7f731
fixing mc-* group OR queries (checkboxs)
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:12:46 -06:00
Joshua Ferraro
7761867f38
adding $simple_search for index scanning and federated queries
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:12:39 -06:00
Joshua Ferraro
fc7b700ce9
refactoring how limits are built, first working version
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-21 14:12:33 -06:00
Joshua Ferraro
931db9c843
adding diagnostic debug option
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 17:53:12 -06:00
Joshua Ferraro
cf59c7d576
fixes to fielded searches, truncation, field weighting, relevance, etc.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 17:53:11 -06:00
Henri-Damien LAURENT
e329656c02
Minor Bug Fixing NZorder showed inverted orders for some indexes.
...
sort {$a cmp $b} @array is the same as sort @array
But sort {$b cmp $a} @array reverse order.
+ Adapting GetMarcFromKohaField to new signature.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-20 16:19:39 -06:00
Paul POULAIN
9e7d6abee1
NoZebra : fix on the last page in case there is more than 1 page
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-17 11:31:14 -06:00
e496677ac9
Beginning redesign of the OPAC. At this stage it's a move to make it more like the dev_week design, but this is only a starting point. This commit makes most OPAC page layouts very broken.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-13 21:35:45 -06:00