Commit Graph

700 Commits

Author SHA1 Message Date
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
genjimoto a54fa6ac52 patch from Genji (Waylon R.) to update subjects in MARC tables when systempref has MARC=OFF 2005-06-01 20:43:58 +00:00
tipaul e2d56f0f49 some fixes & improvements for dictionnary search in librarian interface 2005-06-01 12:51:02 +00:00
tipaul 41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
rangi 18b2cfe08a Removing old print statement 2005-05-15 04:35:36 +00:00
rangi 0edd65bfc8 More little changes to remove warns 2005-05-15 04:34:09 +00:00
rangi abf3b05898 Another little error that was throwing annoying warns 2005-05-14 22:26:07 +00:00
rangi 1e1929be43 Fixing a line that was throwing up warnings when running the script with -w 2005-05-14 22:20:17 +00:00
rangi 7aa3844555 Commenting out warn call
Im working on a curses circulation module, and this warn was smearing output
to the screen.
2005-05-14 22:05:44 +00:00
tipaul 369527637b synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
hdl a65bbe2598 adding Marc Record to authoritysearch report 2005-05-04 14:18:39 +00:00
joshferraro 47e3d8667b Fixes bug 970: renewing book from issues screen. 2005-05-03 19:39:20 +00:00
doxulting 61b81d56bf The search query was returning all records when was empty 2005-04-15 14:31:51 +00:00
hdl 14a0c6c133 Scanning every the Subfields of auth_tag_to_report for FindDuplicate 2005-04-05 17:07:46 +00:00
hdl b605f4d26a Searching for double entries when adding a new authority. 2005-04-05 15:23:40 +00:00
hdl 4ff9cae64b Adding double authority search before creating a new authority 2005-04-05 09:58:47 +00:00
doxulting b9a8342843 New param for the template in order to show only allowed links to user (In parameters screen only right now) 2005-03-23 09:25:20 +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
slef 9324f8683a Small quoting fix to let fine calculation work. 2005-03-01 03:08:00 +00:00
joshferraro 34a1079256 fix for bug 937 2005-02-22 22:40:15 +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
joshferraro c24f2bdb6b Added some minimal docs to Amazon.pm 2005-01-25 17:23:33 +00:00
joshferraro 18140e04dc The Amazon module allows libraries to deliver amazon content to the opac 2005-01-25 16:53:28 +00:00
tipaul 5edf04fd6b improvement of speed for bulkmarcimport.
A sub had been forgotten to use the C4::Context->marcfromkohafield array, that caches DB datas.
this is only a little improvement for normal DB modif, but almost x2 the speed of bulkmarcimport... from 6records/seconds to more than 10.
2005-01-06 14:32:17 +00:00
tipaul cb32ef4fc1 adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the official Koha one.
2005-01-03 10:58:46 +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 4510951cfc Minor changes in summary "exploding" (the 3 digits AFTER the subfield were not on the right place). 2004-12-23 09:48:11 +00:00
tipaul f72a2ceb5f adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf name & status
2004-12-16 11:30:57 +00:00
tipaul 0d8e203523 adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf (this being not finished, will commit the rest soon)
2004-12-15 17:28:22 +00:00
tipaul 52a123a1a4 fix for :
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=858

* added a button to cancel issue
* adding checkbox to cancel reserve on the book (checked by default)
* the cancelation reserve is done on reserves done for a given item or for any item

Nelsonville, pls test & confirm it's OK
2004-12-15 10:47:09 +00:00
rangi 9cd423cbb4 Making the version number reflect the cvs version, to allow for easier
debugging.
If we can ask people what version of a module they are running it makes
error checking easier
2004-12-15 06:08:06 +00:00
tipaul e54459b763 an improvement has been done in DB calls that needs a new index. It's automatically added in fresh installs, but for updates, run the following SQL command :
ALTER TABLE `marc_subfield_structure` ADD INDEX ( `kohafield` )
2004-12-14 15:48:34 +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 b49f397528 * desactivate FindDuplicate
* fix from Genji
2004-12-08 10:14:42 +00:00
tipaul 93e3f0411f fix for "marc upload fail silently" (from MJRay) 2004-12-08 10:11:51 +00:00
tipaul e89e322f6b removing useless comment 2004-12-08 10:08:41 +00:00
tipaul 56ab39361e fixes from A. Tarallo, for mod_perl compliance 2004-12-03 16:50:39 +00:00
tipaul 2db99e1dd5 adding "show me late issues" screen 2004-12-03 14:34:54 +00:00
oleonard 98357d148a Fix to get returns to update "datelastseen" value with today's date 2004-11-29 17:29:37 +00:00
rangi 1ce34b32b3 Fix for bug 865
Allows a librarian to tell Koha you want to start issuing to a new borrower
by entering no data. Essentiall by just hitting the enter  key
2004-11-28 08:32:36 +00:00
tipaul 629a207dcb removing useless &branches in package declaration 2004-11-25 17:39:44 +00:00
tipaul 962584cbaa removing sub branches (commited by chris for MARC=OFF bugfix, but sub branches is already in Acquisition.pm) 2004-11-24 16:00:01 +00:00
tipaul 23881a317e * critical fix for acquisition (see RC3 release notes) 2004-11-24 15:59:15 +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 1c16a1ee91 commiting modif already in RC2 (bug in breeding import) 2004-11-24 15:55:31 +00:00
rangi 7e1f5ce84b Shifting branches() from deprecated C4::Catalogue to C4::Biblio
Allowing the non marc interface acquisitions to work.
2004-11-19 19:41:22 +00:00