tipaul [Thu, 16 May 2002 16:20:40 +0000 (16:20 +0000)]
Beginning of marc stuff :
* in marc directory, the marcschema.sql contains now the new marc structure. The old one is in marcschema.old.sql.
* in marc directory, the fill_usmarc.pl script fills the structure tables with USMARC format in english. Thanks to steve for the BIG work getting them from LOC... It's still to do for UNIMARC in english, and of course in french for me ;-)
* in admin directory, the marctagstructure.pl script helps playing with the structure and modifying it... It's not ended (tomorrow, i hope it will be)
rangi [Thu, 16 May 2002 02:16:27 +0000 (02:16 +0000)]
Just a little fix to make it display an add variable button instead of add
new member.
add variable button is in koha-html
tipaul [Wed, 15 May 2002 14:32:48 +0000 (14:32 +0000)]
smalll bugfixes and code cleaning. See mail in koha-devel for remaining questions
tipaul [Wed, 15 May 2002 12:17:35 +0000 (12:17 +0000)]
Update of systempreferences table structure and admin script. Contains now a "help" fields that shows what param is supposed to do what. The params will be in the sample-DB. I've dumped the 3 I know. If there are others, let me know :
INSERT INTO systempreferences VALUES ('template', 'french', 'Template default name. Not used for instance');
INSERT INTO systempreferences VALUES ('autoBarcode', '', '1 or else. If 1, Barcode is auto-calculated');
INSERT INTO systempreferences VALUES ('acquisitions', 'normal', 'normal or simple : will use acquisition system found in directory acqui.simple or acquisition');
tipaul [Wed, 15 May 2002 08:17:59 +0000 (08:17 +0000)]
small bugfix : adding bibdata only if exist
tipaul [Wed, 15 May 2002 07:52:01 +0000 (07:52 +0000)]
newsubtitle called only if title exist
tipaul [Wed, 15 May 2002 07:40:45 +0000 (07:40 +0000)]
bugfix : link corrected to acquisition
rangi [Wed, 15 May 2002 06:11:21 +0000 (06:11 +0000)]
Now uses KeywordSearch from C4::Search rather than keywordsearch from
C4::Acquisitions .. which can now be deprecated?
At least unless gynn tells me ive done something bad :)
rangi [Wed, 15 May 2002 04:54:07 +0000 (04:54 +0000)]
First cut of moredetail.pl using html::template
I think this is the last file ill work on templating for while, since this
allows me to achieve my aim which is to make the search results easily
customisable. So ill finish this off, then work on the opac versions. And
then back to bugfixing ill go
rangi [Wed, 15 May 2002 04:36:51 +0000 (04:36 +0000)]
Reverting back to old search.pl (for now)
The html::template version is in html-template
tonnesen [Wed, 15 May 2002 04:16:37 +0000 (04:16 +0000)]
Darn. Committed over old search.pl... really going to have to learn how to
roll back files. ;)
tonnesen [Wed, 15 May 2002 04:12:24 +0000 (04:12 +0000)]
Fixed search.pl so that next and previous buttons work... had to pass form
parameters in to the templates
Didn't make any changes to bulkmarcimport.pl recently, so I'm probably
squashing somebody else's changes. Will have to fix that...
truth_nz [Wed, 15 May 2002 04:08:38 +0000 (04:08 +0000)]
Fixed a few warnings.
truth_nz [Wed, 15 May 2002 02:22:24 +0000 (02:22 +0000)]
Patch to acqui system to use new newbiblioitem() parameters
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
rangi [Tue, 14 May 2002 23:13:23 +0000 (23:13 +0000)]
Shifted picktemplate out into C4::Output.pm
tonnesen [Tue, 14 May 2002 21:54:41 +0000 (21:54 +0000)]
Bug that prevented picking alternate themes from default
tonnesen [Tue, 14 May 2002 21:46:11 +0000 (21:46 +0000)]
Fixed some breakage...
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.
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
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.
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) ...
tipaul [Tue, 14 May 2002 09:13:52 +0000 (09:13 +0000)]
DB query optimisation
tipaul [Tue, 14 May 2002 09:12:43 +0000 (09:12 +0000)]
* getallorders now returns only not fully recieved orders
truth_nz [Tue, 14 May 2002 04:12:52 +0000 (04:12 +0000)]
Added code to allow deleting of biblioitems
tonnesen [Mon, 13 May 2002 23:31:23 +0000 (23:31 +0000)]
Added cell padding back in to table for default.tmpl
tonnesen [Mon, 13 May 2002 23:22:42 +0000 (23:22 +0000)]
Fixed reference to newsearch.pl instead of search.pl
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.
tonnesen [Mon, 13 May 2002 23:07:47 +0000 (23:07 +0000)]
Calculate itemcount in Search.pm if using new template based search interface
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
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
tipaul [Mon, 13 May 2002 20:32:36 +0000 (20:32 +0000)]
oops, removing 3 test lines... (ending by a die !)
tipaul [Mon, 13 May 2002 20:22:24 +0000 (20:22 +0000)]
Bugfixes : removes some hard coded trailing dates in select...
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.
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
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.
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
rangi [Sat, 11 May 2002 01:50:35 +0000 (01:50 +0000)]
Starting Makefile.PL and starting work on pod inside Search.pm
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...
tonnesen [Fri, 10 May 2002 22:34:36 +0000 (22:34 +0000)]
Cleaned up formatting of dewey number before returning result from Search.pm
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!!!!
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. :)
tonnesen [Fri, 10 May 2002 21:26:24 +0000 (21:26 +0000)]
Fixed startfrom in template links in header
tonnesen [Fri, 10 May 2002 21:22:18 +0000 (21:22 +0000)]
Still playing. Added a "next record" link
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.
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'
tonnesen [Fri, 10 May 2002 17:12:31 +0000 (17:12 +0000)]
Put Dewey back in template file
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.
rangi [Fri, 10 May 2002 05:03:19 +0000 (05:03 +0000)]
Just adding some spaces to test the new cvs-koha list
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
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
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.
rangi [Tue, 7 May 2002 00:09:06 +0000 (00:09 +0000)]
Now use the new hash based results returned from Search.pm
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.
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
rangi [Mon, 6 May 2002 21:59:40 +0000 (21:59 +0000)]
Fixing a typo
finlayt [Mon, 6 May 2002 04:36:42 +0000 (04:36 +0000)]
Removed the "Item has been transfered" message from the returnbook2
subroutine.
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
finlayt [Mon, 6 May 2002 04:12:48 +0000 (04:12 +0000)]
Changed the word: Fines to: Charges
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.
rangi [Fri, 3 May 2002 21:40:28 +0000 (21:40 +0000)]
No harm in adding these to the main branch either
truth_nz [Fri, 3 May 2002 02:47:33 +0000 (02:47 +0000)]
Bug fixes to get the new acqui.simple system working.
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
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.
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
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
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
truth_nz [Mon, 29 Apr 2002 05:29:02 +0000 (05:29 +0000)]
scripts for new acqui.simple system
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
finlayt [Tue, 23 Apr 2002 00:34:16 +0000 (00:34 +0000)]
Fixed typo
finlayt [Mon, 22 Apr 2002 22:47:09 +0000 (22:47 +0000)]
fixed typo
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
saas [Sun, 21 Apr 2002 04:45:21 +0000 (04:45 +0000)]
Correct spelling - aquisitions to acquisitions
pate [Sun, 21 Apr 2002 01:58:26 +0000 (01:58 +0000)]
general cleanups
pate [Sat, 20 Apr 2002 03:39:30 +0000 (03:39 +0000)]
initial version of the Changelog -- used cvs2cl to generate it.
pate [Wed, 17 Apr 2002 21:35:53 +0000 (21:35 +0000)]
starting to move ethnicity stuff out of programs and into modules
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
tonnesen [Tue, 16 Apr 2002 19:49:15 +0000 (19:49 +0000)]
Added some comments detailing how MARC fields are mapped to Koha data
tonnesen [Tue, 16 Apr 2002 18:00:39 +0000 (18:00 +0000)]
Fixed typo
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.
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.
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)
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
rangi [Wed, 10 Apr 2002 09:55:17 +0000 (09:55 +0000)]
Fixing the subject search i broke ;)
rangi [Wed, 10 Apr 2002 07:59:28 +0000 (07:59 +0000)]
Working on a fix to speed up title and author searches
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).
truth_nz [Wed, 10 Apr 2002 05:47:07 +0000 (05:47 +0000)]
Updates to use changed newbiblio sub in C4/Acquisitions.pm
pate [Wed, 10 Apr 2002 00:02:59 +0000 (00:02 +0000)]
whacked a couple of bits that Chris marked as okay to delete.
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)
pate [Tue, 9 Apr 2002 22:08:15 +0000 (22:08 +0000)]
refactoring, marking spots for further refactoring
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
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 :)
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.
rangi [Mon, 8 Apr 2002 22:47:18 +0000 (22:47 +0000)]
Script wasnt setting street address correctly
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
rangi [Fri, 5 Apr 2002 03:09:18 +0000 (03:09 +0000)]
Fixing up the query to pickup budget
rangi [Wed, 3 Apr 2002 08:58:36 +0000 (08:58 +0000)]
Actually lives in telnet/
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
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
rangi [Sun, 31 Mar 2002 02:48:18 +0000 (02:48 +0000)]
Fixing branches