Commit Graph

107 Commits

Author SHA1 Message Date
tipaul e072492215 fix to remove "request" button if there is no item requestable 2005-09-05 16:17:37 +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
tipaul ff6b0789cb some bugfixes on item count & results shown on screen 2005-04-07 10:08:31 +00:00
tipaul a5e3162865 moving BreedingSearch function to Breeding.pm, a more logic place 2005-03-18 08:57:04 +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 e37d775d5c in member search, adding an option to order result by name or cardnumber 2005-02-17 12:46:41 +00:00
tipaul 89e4e6ba20 * multiple biblio subtitles are correctly stored & shown in simple (non-MARC) view, even after a biblio modif. 2005-02-10 13:15:27 +00:00
tipaul 74af629290 show text instead of code for itemtypes, authorized values... 2005-02-03 15:25:14 +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 a47bdb1f57 suggestion from owen to add classification to isbn query 2004-11-12 17:26: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 c0585cdeaf *** empty log message *** 2004-09-13 15:26:42 +00:00
shedges f3e5fcd15d Fix bug 789 (in HEAD) 2004-09-05 22:33:12 +00:00
shedges 686a41a71c Minor changes to add classification data to return array from loose search. 2004-09-04 13:48:27 +00:00
tipaul 75e8b810e8 minor reindentings 2004-08-18 16:02:26 +00:00
tipaul b2d3fe1ccb moving language chooser to the main page.
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm

moving changelanguage.pl to OPAC scope
2004-08-16 12:49:42 +00:00
rangi e334c8699f Commiting a sample change to the default template to allow users to pick
their language.
Just a sample template builders can look at this and make changes to their
templates
2004-08-15 01:50:24 +00:00
doxulting f122180117 Beginning of serial commit 2004-07-30 13:54:27 +00:00
rangi 5178337784 Fix for bug 752 2004-04-28 09:09:27 +00:00
joshferraro 01458df59c Make isbn search on existing records looser (to allow for MARC isbn data)." 2004-03-28 16:04:47 +00:00
tipaul f49bd9a544 bugfixes for newsearches 2004-03-24 10:44:48 +00:00
tipaul 3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +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
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
tipaul fbce422b4e prepare(?) execute($var) fixes 2003-12-04 09:33:32 +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 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
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 db8f840838 fix for 556 2003-08-06 12:37:54 +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
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 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
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
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
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 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
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 cc35b709e1 small fix to avoid empty list when itemtypes does'nt exist in DB 2003-04-01 13:19:55 +00:00
tipaul 86631c1a8e fix for bug #54 2003-03-19 21:37:21 +00:00
tipaul 1b0620652e * moving generic functions to Koha.pm
* improvement of SearchMarc.pm
* bugfixes
* code cleaning
2003-03-07 16:35:42 +00:00
tipaul 867a82398e migrating to prepare (?) execute($var) structure 2003-03-03 17:36:32 +00:00
tipaul fe8746a471 * moving prepare / execute to ? form.
* some # cleaning
* little bugfix.
* road to 1.9.2 => acquisition and cataloguing merging
2003-02-27 16:51:59 +00:00