koha.git
21 years agoFixed a few warnings.
truth_nz [Wed, 15 May 2002 04:08:38 +0000 (04:08 +0000)]
Fixed a few warnings.

21 years agoPatch to acqui system to use new newbiblioitem() parameters
truth_nz [Wed, 15 May 2002 02:22:24 +0000 (02:22 +0000)]
Patch to acqui system to use new newbiblioitem() parameters

21 years agoHtml::Templated version of detail.pl,
rangi [Wed, 15 May 2002 00:39:43 +0000 (00:39 +0000)]
Html::Templated version of detail.pl,
this combined with the template in koha-html should be a drop in replacement
for the intranet detail.pl script

21 years agoShifted picktemplate out into C4::Output.pm
rangi [Tue, 14 May 2002 23:13:23 +0000 (23:13 +0000)]
Shifted picktemplate out into C4::Output.pm

21 years agoBug that prevented picking alternate themes from default
tonnesen [Tue, 14 May 2002 21:54:41 +0000 (21:54 +0000)]
Bug that prevented picking alternate themes from default

21 years agoFixed some breakage...
tonnesen [Tue, 14 May 2002 21:46:11 +0000 (21:46 +0000)]
Fixed some breakage...

21 years agoMade a wrapper function catalogsearch
rangi [Tue, 14 May 2002 21:36:39 +0000 (21:36 +0000)]
Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.

21 years agoNow works with all searches, this plus the templates should now be close to
rangi [Tue, 14 May 2002 21:33:23 +0000 (21:33 +0000)]
Now works with all searches, this plus the templates should now be close to
a drop in replacement for the existing search.pl

Actually, just the subject search to go (requires a slightly different
template .. or some kind of TMPL_IF in the template

21 years agoModifications to use new template directory structure. Removed hard coded
tonnesen [Tue, 14 May 2002 19:34:44 +0000 (19:34 +0000)]
Modifications to use new template directory structure.  Removed hard coded
includes directory in templates.  Note that TMPL_INCLUDE tags in a template
will now use the koha.conf includes variable as a search path, so only the
filename needs to be used.

21 years agoFirst, run updater/thesaurus_create.pl.
tipaul [Tue, 14 May 2002 11:26:09 +0000 (11:26 +0000)]
First, run updater/thesaurus_create.pl.
It creates a thesaurus table and fills it with data in bibliosubject. Thesaurus
contains 2 columns : freelib and stdlib. This permits connecting differents forms for a word/sentence (HUGO may be mapped to V. Hugo, Victor Hugo...)
In modbib.pl, you will see "..." near subject. If you   click on this ..., a popup appear. It has 4 parts : the Subject field, a search field with Search button. If you enter a value here and click Search, a list of thesaurus entries starting by what you enter appear.
If you select a value and click "OK", the value is added to the subject list.
When you've finished, click END. the window is closed, and the value copied to main subject window.

Make heavy use of javascript. TESTED UNDER MOZILLA 0.99. Please test under IE.

Administration of thesaurus table will come soon (with html::template) ...

21 years agoDB query optimisation
tipaul [Tue, 14 May 2002 09:13:52 +0000 (09:13 +0000)]
DB query optimisation

21 years ago* getallorders now returns only not fully recieved orders
tipaul [Tue, 14 May 2002 09:12:43 +0000 (09:12 +0000)]
* getallorders now returns only not fully recieved orders

21 years agoAdded code to allow deleting of biblioitems
truth_nz [Tue, 14 May 2002 04:12:52 +0000 (04:12 +0000)]
Added code to allow deleting of biblioitems

21 years agoAdded cell padding back in to table for default.tmpl
tonnesen [Mon, 13 May 2002 23:31:23 +0000 (23:31 +0000)]
Added cell padding back in to table for default.tmpl

21 years agoFixed reference to newsearch.pl instead of search.pl
tonnesen [Mon, 13 May 2002 23:22:42 +0000 (23:22 +0000)]
Fixed reference to newsearch.pl instead of search.pl

21 years agoFixed some problems in default.tmpl
tonnesen [Mon, 13 May 2002 23:20:45 +0000 (23:20 +0000)]
Fixed some problems in default.tmpl
Note, I have the includes dir hard-coded in default.tmpl.  Needs fixing.
Also, you can pick another template by setting a systempreferences variable
'template' to some other value.  If the given template can't be found, default.tmpl will be loaded instead.

21 years agoCalculate itemcount in Search.pm if using new template based search interface
tonnesen [Mon, 13 May 2002 23:07:47 +0000 (23:07 +0000)]
Calculate itemcount in Search.pm if using new template based search interface

21 years agoChanges:
tonnesen [Mon, 13 May 2002 23:05:45 +0000 (23:05 +0000)]
Changes:
 - templates are expected to be found in
    INCLUDESDIR/templates/catalogue/searchresults/default.tmpl
 - Works with default Search.pm from cvs

21 years agoWill work now with the existing C4/Search.pm at least the one in the main
rangi [Mon, 13 May 2002 22:29:27 +0000 (22:29 +0000)]
Will work now with the existing C4/Search.pm at least the one in the main
branch.
Will still break with the version in rel-1.2

21 years agooops, removing 3 test lines... (ending by a die !)
tipaul [Mon, 13 May 2002 20:32:36 +0000 (20:32 +0000)]
oops, removing 3 test lines... (ending by a die !)

21 years agoBugfixes : removes some hard coded trailing dates in select...
tipaul [Mon, 13 May 2002 20:22:24 +0000 (20:22 +0000)]
Bugfixes : removes some hard coded trailing dates in select...

21 years agobug fix to actually save the changes made to an website biblioitem.
truth_nz [Mon, 13 May 2002 00:45:46 +0000 (00:45 +0000)]
bug fix to actually save the changes made to an website biblioitem.

21 years agoChanges to allow modifications to the website biblioitems
truth_nz [Sun, 12 May 2002 18:08:17 +0000 (18:08 +0000)]
Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page

21 years agoNew files, and changes to add associated webstes to a biblio.
truth_nz [Sun, 12 May 2002 15:37:53 +0000 (15:37 +0000)]
New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.

21 years agoCommitting Paul's changes into the main branch, and salvaging the changes
rangi [Sun, 12 May 2002 00:02:17 +0000 (00:02 +0000)]
Committing Paul's changes into the main branch, and salvaging the changes
made in version 1.4 that got clobberd by 1.5

21 years agoStarting Makefile.PL and starting work on pod inside Search.pm
rangi [Sat, 11 May 2002 01:50:35 +0000 (01:50 +0000)]
Starting Makefile.PL and starting work on pod inside Search.pm

21 years agoSmall cleanups. We really need to hash out some standard hierarchy for storing
tonnesen [Fri, 10 May 2002 22:38:08 +0000 (22:38 +0000)]
Small cleanups.  We really need to hash out some standard hierarchy for storing
these templates.  I'm thinking they are going to get a little overwhelming...

21 years agoCleaned up formatting of dewey number before returning result from Search.pm
tonnesen [Fri, 10 May 2002 22:34:36 +0000 (22:34 +0000)]
Cleaned up formatting of dewey number before returning result from Search.pm

21 years agoModified Search.pm to work with HTML::Template search.pl file. WARNING!! This
tonnesen [Fri, 10 May 2002 22:24:01 +0000 (22:24 +0000)]
Modified Search.pm to work with HTML::Template search.pl file.  WARNING!! This
Search.pm will break the existing search!!!!

21 years agoModified to use Search.pm and KeywordSearch().
tonnesen [Fri, 10 May 2002 22:18:48 +0000 (22:18 +0000)]
Modified to use Search.pm and KeywordSearch().
Note that I had to modify Search.pm as well to get it to return something other than that bizarre @stuff array.  :)

21 years agoFixed startfrom in template links in header
tonnesen [Fri, 10 May 2002 21:26:24 +0000 (21:26 +0000)]
Fixed startfrom in template links in header

21 years agoStill playing. Added a "next record" link
tonnesen [Fri, 10 May 2002 21:22:18 +0000 (21:22 +0000)]
Still playing.  Added a "next record" link

21 years agoAdded ability to switch between two templates. One template shows
tonnesen [Fri, 10 May 2002 17:41:05 +0000 (17:41 +0000)]
Added ability to switch between two templates.  One template shows
biblionumber, the other template shows notes, in the third column.

My thinking is that for every template, the scripts can search for a local
version of the template before using the default template.

21 years agoNow using real data. Returns first 20 records where author starts with 's'
tonnesen [Fri, 10 May 2002 17:21:36 +0000 (17:21 +0000)]
Now using real data.  Returns first 20 records where author starts with 's'

21 years agoPut Dewey back in template file
tonnesen [Fri, 10 May 2002 17:12:31 +0000 (17:12 +0000)]
Put Dewey back in template file

21 years agoStarting to play with HTML::Template
tonnesen [Fri, 10 May 2002 17:08:04 +0000 (17:08 +0000)]
Starting to play with HTML::Template
I'm going to work on the search interface instead of the circulation interface
as the search interface is where my librarians want the most changes at the
moment.

21 years agoJust adding some spaces to test the new cvs-koha list
rangi [Fri, 10 May 2002 05:03:19 +0000 (05:03 +0000)]
Just adding some spaces to test the new cvs-koha list

21 years agoUpdate to catalogue to allow change of biblio abstracts.
truth_nz [Thu, 9 May 2002 03:01:40 +0000 (03:01 +0000)]
Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's

21 years agoUpdate to catalogue to allow change of biblio abstracts.
truth_nz [Thu, 9 May 2002 01:07:36 +0000 (01:07 +0000)]
Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's

21 years agochanged the destination branch dropdown to only show branches that have
finlayt [Tue, 7 May 2002 04:36:00 +0000 (04:36 +0000)]
changed the destination branch dropdown to only show branches that have
categorycode == CU, ie can be current branch.

21 years agoNow use the new hash based results returned from Search.pm
rangi [Tue, 7 May 2002 00:09:06 +0000 (00:09 +0000)]
Now use the new hash based results returned from Search.pm

21 years agoMaking the CatSearch and KeywordSearch return more sane returns
rangi [Tue, 7 May 2002 00:08:20 +0000 (00:08 +0000)]
Making the CatSearch and KeywordSearch return more sane returns
Returns an array of hashrefs now, rather than the array of tab separated
strings it was returning before.

21 years agoRemoving keywordsearch2 (no longer used)
rangi [Mon, 6 May 2002 23:12:25 +0000 (23:12 +0000)]
Removing keywordsearch2 (no longer used)
Fixing glitches in counting lost items.
In items
itemlost=1 item marked lost by a librarian
itemlost=2 item marked lost by kohas automatic this item is over 4 weeks
overdue routine.

To the borrowers (ie in the opac) they should just show as lost

21 years agoFixing a typo
rangi [Mon, 6 May 2002 21:59:40 +0000 (21:59 +0000)]
Fixing a typo

22 years agoRemoved the "Item has been transfered" message from the returnbook2
finlayt [Mon, 6 May 2002 04:36:42 +0000 (04:36 +0000)]
Removed the "Item has been transfered" message from the returnbook2
subroutine.

22 years agoChanged the error message from: There is no book with barcode: XXXXXX
finlayt [Mon, 6 May 2002 04:30:37 +0000 (04:30 +0000)]
Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX

22 years agoChanged the word: Fines to: Charges
finlayt [Mon, 6 May 2002 04:12:48 +0000 (04:12 +0000)]
Changed the word: Fines to: Charges

22 years agoFixed bug due to way hashes take values. Was stopping items being saved to
truth_nz [Mon, 6 May 2002 02:47:49 +0000 (02:47 +0000)]
Fixed bug due to way hashes take values. Was stopping items being saved to
database. Added code to pick up branch list from database.

22 years agoNo harm in adding these to the main branch either
rangi [Fri, 3 May 2002 21:40:28 +0000 (21:40 +0000)]
No harm in adding these to the main branch either

22 years agoBug fixes to get the new acqui.simple system working.
truth_nz [Fri, 3 May 2002 02:47:33 +0000 (02:47 +0000)]
Bug fixes to get the new acqui.simple system working.

22 years agoupdated database.mysql : dropped unused tables, created indexes : old database.mysql...
tipaul [Thu, 2 May 2002 09:19:49 +0000 (09:19 +0000)]
updated database.mysql : dropped unused tables, created indexes : old database.mysql updated by updatedatabase2.pl script

22 years agoadded branchrelations table and changed branchcategories table to allow
finlayt [Thu, 2 May 2002 00:23:26 +0000 (00:23 +0000)]
added branchrelations table and changed branchcategories table to allow
admin/branches.pl to work properly.

22 years agomoredetail.pl presents circulation information taken from the
finlayt [Thu, 2 May 2002 00:08:53 +0000 (00:08 +0000)]
moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing

22 years agoChanges to circulations:
finlayt [Thu, 2 May 2002 00:06:28 +0000 (00:06 +0000)]
Changes to circulations:
added returns.pl  ->  deals with the returns only
moved old circulation.pl to circulationold.pl which still deals with issues.
fixed up branchtransfers.pl
moved circulation2.pl to circulation.pl

Note more changes coming next week

22 years agoCleaning out all unused cruft.
rangi [Tue, 30 Apr 2002 09:21:03 +0000 (09:21 +0000)]
Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module

22 years agoscripts for new acqui.simple system
truth_nz [Mon, 29 Apr 2002 05:29:02 +0000 (05:29 +0000)]
scripts for new acqui.simple system

22 years agoModifications for new acqui.simple
truth_nz [Mon, 29 Apr 2002 05:25:41 +0000 (05:25 +0000)]
Modifications for new acqui.simple
Database includes new biblio abstract field and biblioitem url field
acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm

22 years agoFixed typo
finlayt [Tue, 23 Apr 2002 00:34:16 +0000 (00:34 +0000)]
Fixed typo

22 years agofixed typo
finlayt [Mon, 22 Apr 2002 22:47:09 +0000 (22:47 +0000)]
fixed typo

22 years agoFixing bug reported by Steve,
rangi [Sun, 21 Apr 2002 06:33:32 +0000 (06:33 +0000)]
Fixing bug reported by Steve,
Couldnt remove an additional Author when modifying a biblio

22 years agoCorrect spelling - aquisitions to acquisitions
saas [Sun, 21 Apr 2002 04:45:21 +0000 (04:45 +0000)]
Correct spelling - aquisitions to acquisitions

22 years agogeneral cleanups
pate [Sun, 21 Apr 2002 01:58:26 +0000 (01:58 +0000)]
general cleanups

22 years agoinitial version of the Changelog -- used cvs2cl to generate it.
pate [Sat, 20 Apr 2002 03:39:30 +0000 (03:39 +0000)]
initial version of the Changelog -- used cvs2cl to generate it.

22 years agostarting to move ethnicity stuff out of programs and into modules
pate [Wed, 17 Apr 2002 21:35:53 +0000 (21:35 +0000)]
starting to move ethnicity stuff out of programs and into modules

22 years agoSubmitting on behalf of Nicholas
rangi [Wed, 17 Apr 2002 20:28:47 +0000 (20:28 +0000)]
Submitting on behalf of Nicholas
First cut (not functional yet) of an installer script

22 years agoAdded some comments detailing how MARC fields are mapped to Koha data
tonnesen [Tue, 16 Apr 2002 19:49:15 +0000 (19:49 +0000)]
Added some comments detailing how MARC fields are mapped to Koha data

22 years agoFixed typo
tonnesen [Tue, 16 Apr 2002 18:00:39 +0000 (18:00 +0000)]
Fixed typo

22 years agoThis is my bulk MARC record importing tool. Feel free to test it out, but DO
tonnesen [Tue, 16 Apr 2002 17:37:19 +0000 (17:37 +0000)]
This is my bulk MARC record importing tool.  Feel free to test it out, but DO
NOT use it on a production system yet!  It needs to be more adaptable to
different MARC implementations.

Note that the script will spit out a plain text copy of the records being
imported to STDOUT, so you will probably want to redirect to a file, or pipe to
less.

22 years agomoved ethnicity fixups into C4::Koha, eventually to be replaced with a better
pate [Mon, 15 Apr 2002 16:17:21 +0000 (16:17 +0000)]
moved ethnicity fixups into C4::Koha, eventually to be replaced with a better
(non-NZ specific) solution.

22 years agomoved ethnicity fixing out of moremember.pl into a function,
pate [Mon, 15 Apr 2002 16:15:38 +0000 (16:15 +0000)]
moved ethnicity fixing out of moremember.pl into a function,
eventually to replace with a more configurable version (non-NZ specific)

22 years agoAcquisitions::newbiblioitem updated to be usable for new acqui.simple
truth_nz [Mon, 15 Apr 2002 05:33:33 +0000 (05:33 +0000)]
Acquisitions::newbiblioitem updated to be usable for new acqui.simple
addorder.pl and updatebibitem.pl modified to use new newbiblioitem

22 years agoFixing the subject search i broke ;)
rangi [Wed, 10 Apr 2002 09:55:17 +0000 (09:55 +0000)]
Fixing the subject search i broke ;)

22 years agoWorking on a fix to speed up title and author searches
rangi [Wed, 10 Apr 2002 07:59:28 +0000 (07:59 +0000)]
Working on a fix to speed up title and author searches

22 years agoAltered newbiblio to be more generic - so can use with new acui.simple
truth_nz [Wed, 10 Apr 2002 05:49:17 +0000 (05:49 +0000)]
Altered newbiblio to be more generic - so can use with new acui.simple
scripts (which are not finished yet).

22 years agoUpdates to use changed newbiblio sub in C4/Acquisitions.pm
truth_nz [Wed, 10 Apr 2002 05:47:07 +0000 (05:47 +0000)]
Updates to use changed newbiblio sub in C4/Acquisitions.pm

22 years agowhacked a couple of bits that Chris marked as okay to delete.
pate [Wed, 10 Apr 2002 00:02:59 +0000 (00:02 +0000)]
whacked a couple of bits that Chris marked as okay to delete.

22 years agoJust added some comments for Pat
rangi [Tue, 9 Apr 2002 23:30:48 +0000 (23:30 +0000)]
Just added some comments for Pat
(Is this a good way of doing it? if not let me know)

22 years agorefactoring, marking spots for further refactoring
pate [Tue, 9 Apr 2002 22:08:15 +0000 (22:08 +0000)]
refactoring, marking spots for further refactoring

22 years agoLittle typo, missing t in systemprefs
rangi [Tue, 9 Apr 2002 00:16:52 +0000 (00:16 +0000)]
Little typo, missing t in systemprefs
Apart from that, all the patch files seem to be running happily on
hlt.katipo.co.nz

22 years agoJust a quick little fix the sql to update a borrower was setting the postal
rangi [Tue, 9 Apr 2002 00:04:39 +0000 (00:04 +0000)]
Just a quick little fix the sql to update a borrower was setting the postal
address twice, instead of the postal, then the physical address. My little
fix got overwrote by pat's fix so im updating now before i forget :)

22 years agorefactored slashifyDate function out of inline code, created C4/Koha.pm
pate [Mon, 8 Apr 2002 23:44:43 +0000 (23:44 +0000)]
refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.

22 years agoScript wasnt setting street address correctly
rangi [Mon, 8 Apr 2002 22:47:18 +0000 (22:47 +0000)]
Script wasnt setting street address correctly

22 years agoHave realised misc/fines2.pl is the real fines script, this one can be
rangi [Fri, 5 Apr 2002 03:13:21 +0000 (03:13 +0000)]
Have realised misc/fines2.pl is the real fines script, this one can be
removed so as to remove one more source of confusion

22 years agoFixing up the query to pickup budget
rangi [Fri, 5 Apr 2002 03:09:18 +0000 (03:09 +0000)]
Fixing up the query to pickup budget

22 years agoActually lives in telnet/
rangi [Wed, 3 Apr 2002 08:58:36 +0000 (08:58 +0000)]
Actually lives in telnet/

22 years agoMore work on the addbooks scripts, committing on behalf of Roger
rangi [Wed, 3 Apr 2002 08:44:23 +0000 (08:44 +0000)]
More work on the addbooks scripts, committing on behalf of Roger

Need testing before use in a production environment

22 years agoFixed the holding branch insertion code. It was inserting the correct
rangi [Sun, 31 Mar 2002 06:50:08 +0000 (06:50 +0000)]
Fixed the holding branch insertion code. It was inserting the correct
homebranch but was still inserting the wrong home branch

22 years agoFixing branches
rangi [Sun, 31 Mar 2002 02:48:18 +0000 (02:48 +0000)]
Fixing branches

22 years agoDraws list of branches from the branches table now, when adding an item
rangi [Sun, 31 Mar 2002 01:18:36 +0000 (01:18 +0000)]
Draws list of branches from the branches table now, when adding an item

22 years agoShifting writeoff code back into pay.pl (redirecting to writeoff.pl was
rangi [Wed, 27 Mar 2002 00:02:40 +0000 (00:02 +0000)]
Shifting writeoff code back into pay.pl (redirecting to writeoff.pl was
breaking when the borrower owes a lot of fines)

22 years agoadded database patchs to the updater/updatedatabase script
finlayt [Tue, 26 Mar 2002 05:08:52 +0000 (05:08 +0000)]
added database patchs to the updater/updatedatabase script

changes the type of the datesent and datearrived fields in the
branchtransfers table from date to datetime.

completely re-organises the branchcategories table. As this has previously
been unused it shouldnt effect anyone.

22 years agoDoesnt write to an include anymore
rangi [Thu, 21 Mar 2002 21:24:54 +0000 (21:24 +0000)]
Doesnt write to an include anymore

22 years agoScript to apply to sample DB only. It makes a few modifications in the DB (indexes...
tipaul [Tue, 19 Mar 2002 15:39:31 +0000 (15:39 +0000)]
Script to apply to sample DB only. It makes a few modifications in the DB (indexes creation, some data deletion, and unused tables drop)
Creates a thesaurus table from the bilbiosubject one

22 years agoSample database only for parameters tables
tipaul [Tue, 19 Mar 2002 15:37:15 +0000 (15:37 +0000)]
Sample database only for parameters tables

22 years agoDeals with lost book charges now
rangi [Sun, 17 Mar 2002 02:58:00 +0000 (02:58 +0000)]
Deals with lost book charges now

22 years agotidied up, less hlt specific now
rangi [Sun, 17 Mar 2002 02:31:02 +0000 (02:31 +0000)]
tidied up, less hlt specific now

22 years agoChanged heading to look like the rest of Koha
finlayt [Thu, 14 Mar 2002 01:51:16 +0000 (01:51 +0000)]
Changed heading to look like the rest of Koha

22 years agoAdded a heading to be consistent with rest of Koha
finlayt [Thu, 14 Mar 2002 01:50:17 +0000 (01:50 +0000)]
Added a heading to be consistent with rest of Koha

22 years agoThis is the begining of a process of dividing up circulation.pl R_1-2-2RC4
finlayt [Thu, 14 Mar 2002 01:04:00 +0000 (01:04 +0000)]
This is the begining of a process of dividing up circulation.pl

This script deals with the branch and printer selection stuff

22 years agoAdded a transferbook subroutine that is called from /circ/branchtransfers.pl
finlayt [Wed, 13 Mar 2002 21:13:42 +0000 (21:13 +0000)]
Added a transferbook subroutine that is called from /circ/branchtransfers.pl

It writes a new line in the branchtransfers table and changes the
currentbranch field in items.