finlayt [Thu, 6 Jun 2002 04:15:18 +0000 (04:15 +0000)]
fixed bug bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
finlayt [Thu, 6 Jun 2002 02:51:38 +0000 (02:51 +0000)]
fixed minor bugs
finlayt [Thu, 6 Jun 2002 02:48:53 +0000 (02:48 +0000)]
Changed the issuebook routine to use the new methods from C4::Reserves2.pm
finlayt [Thu, 6 Jun 2002 02:47:53 +0000 (02:47 +0000)]
improved all the code so that priorities are reset properly.
tipaul [Wed, 5 Jun 2002 13:05:19 +0000 (13:05 +0000)]
Proposing simplified perlmarcstructure. Interesting mainly for Steve
tipaul [Tue, 4 Jun 2002 16:08:47 +0000 (16:08 +0000)]
test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
tipaul [Tue, 4 Jun 2002 08:13:31 +0000 (08:13 +0000)]
ouuppsss... forget the 1.13 version, i made a mistake. This version works and should be the last
tipaul [Tue, 4 Jun 2002 07:56:56 +0000 (07:56 +0000)]
New and hopefully last version of the MARC-DB. Is the fastest in benchmark, everybody agree ;-) (Sergey, Steve and me, Paul)
tonnesen [Sat, 1 Jun 2002 05:53:47 +0000 (05:53 +0000)]
I couldn't get testKoha to run until I modified the runtests line. Am I using
a different version of Test::Harness?
tonnesen [Sat, 1 Jun 2002 05:46:08 +0000 (05:46 +0000)]
Added checking for option to run unsafe database tests. The idea is that tests
that attempt to modify the library database will _not_ be run unless the
environment variable DoUnsafeDBTests is set to 1. This allows people on
production systems to run the tests without any fear of data corruption, while
developers can run the full suite of tests on a standard sample database.
pate [Fri, 31 May 2002 22:46:59 +0000 (22:46 +0000)]
quick updates/corrections
tonnesen [Fri, 31 May 2002 22:17:12 +0000 (22:17 +0000)]
Skeleton test file for Catalogue.pm. Fails miserably so far. :)
pate [Fri, 31 May 2002 20:35:54 +0000 (20:35 +0000)]
updated testing
tonnesen [Fri, 31 May 2002 20:03:17 +0000 (20:03 +0000)]
removed another _sergey
tonnesen [Fri, 31 May 2002 19:41:29 +0000 (19:41 +0000)]
removed fieldid in favour of tagid, removed _sergey from table names, added
tagorder field to tag table, renamed marc_field_table to marc_tag_table.
tonnesen [Fri, 31 May 2002 19:36:08 +0000 (19:36 +0000)]
Splitting into separate tag and subfield tables
tonnesen [Thu, 30 May 2002 19:58:24 +0000 (19:58 +0000)]
Benchmark script for sergey's schema
tonnesen [Thu, 30 May 2002 19:55:18 +0000 (19:55 +0000)]
New benchmark run to test Sergey's schema
tipaul [Thu, 30 May 2002 08:11:51 +0000 (08:11 +0000)]
* modification of tables/row names : *_tag_* replaced by *_subfield_* where needed
* modification of word table
tipaul [Thu, 30 May 2002 08:00:56 +0000 (08:00 +0000)]
some more cleaning : removed duplicated row, added indexes
finlayt [Thu, 30 May 2002 01:32:29 +0000 (01:32 +0000)]
Most everything is fixed now in returns, including the way it displays (a little).
tonnesen [Wed, 29 May 2002 22:47:20 +0000 (22:47 +0000)]
Started modifications to match new marc schema
tonnesen [Wed, 29 May 2002 22:11:20 +0000 (22:11 +0000)]
Changed subfieldmark back to subfieldcode
tonnesen [Wed, 29 May 2002 21:11:41 +0000 (21:11 +0000)]
Further simplifications to the marc schema specification
tonnesen [Wed, 29 May 2002 21:06:17 +0000 (21:06 +0000)]
Script for printing barcode labels. Running this script sends raw postscript
to stdout, so redirect to a file for viewing with ghostview, or to a postscript
capable printer for printing. There are some variables which can be edited at
the top of the script.
finlayt [Wed, 29 May 2002 05:52:12 +0000 (05:52 +0000)]
Changed the returnbook method to use CheckReserves instead of FindReserves.
finlayt [Wed, 29 May 2002 05:50:52 +0000 (05:50 +0000)]
Fixed up the reserves code to use the new Reserves2.pm methods.
finlayt [Wed, 29 May 2002 04:40:15 +0000 (04:40 +0000)]
Some small changes in transferbook: uses the new Reserves2.pm methods.
finlayt [Wed, 29 May 2002 04:39:12 +0000 (04:39 +0000)]
Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
finlayt [Wed, 29 May 2002 04:33:42 +0000 (04:33 +0000)]
Added the reserves functionality. Now calls a bunch of routines from Reserves2.pm
dragon28 [Mon, 27 May 2002 08:22:23 +0000 (08:22 +0000)]
fixed typo
amillar [Thu, 23 May 2002 22:59:37 +0000 (22:59 +0000)]
Added "lccn" and "marc" fields to newbiblioitem
amillar [Thu, 23 May 2002 20:49:31 +0000 (20:49 +0000)]
Moved addition of Biblioitem to separate subroutine
truth_nz [Wed, 22 May 2002 18:35:25 +0000 (18:35 +0000)]
Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
tonnesen [Wed, 22 May 2002 16:00:51 +0000 (16:00 +0000)]
First attempt at a perl data structure for marc records
amillar [Wed, 22 May 2002 06:45:30 +0000 (06:45 +0000)]
Add biblio using C4::Acquisitions newbiblio
rangi [Wed, 22 May 2002 04:30:44 +0000 (04:30 +0000)]
Fixing syntax error
amillar [Tue, 21 May 2002 06:19:48 +0000 (06:19 +0000)]
Fix typo in booksellerid field name
amillar [Tue, 21 May 2002 06:17:48 +0000 (06:17 +0000)]
Add item using newitem() from C4::Acquisitions.pm
amillar [Tue, 21 May 2002 06:15:41 +0000 (06:15 +0000)]
Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
amillar [Tue, 21 May 2002 05:47:24 +0000 (05:47 +0000)]
Modularize table creation, driven by hash instead of redundant code.
amillar [Tue, 21 May 2002 05:12:42 +0000 (05:12 +0000)]
Add comments, make branchrelations consistent with other table additions
rangi [Tue, 21 May 2002 01:17:44 +0000 (01:17 +0000)]
Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
rangi [Tue, 21 May 2002 01:16:02 +0000 (01:16 +0000)]
Fixing ItemInfo2 to ItemInfo
amillar [Mon, 20 May 2002 04:55:20 +0000 (04:55 +0000)]
Some code cleanup. Created subroutines for ISBN checksum,
z3950 queue insert, and table-based form option selects
for item type and branch code (branch code select no longer
hard-coded).
rangi [Sun, 19 May 2002 21:27:12 +0000 (21:27 +0000)]
Adding in publisher and abstract as search fields
amillar [Sat, 18 May 2002 07:01:27 +0000 (07:01 +0000)]
Some cleanup, reformatting, fix some undeclared variables
amillar [Sat, 18 May 2002 06:56:13 +0000 (06:56 +0000)]
Removing Catalogue.pm because it doesn't compile cleanly yet
finlayt [Sat, 18 May 2002 05:38:57 +0000 (05:38 +0000)]
Changed the wording of error message from:
"Cannot transfer item to branch it is already at"
to: "Item already at destination branch"
finlayt [Sat, 18 May 2002 05:37:26 +0000 (05:37 +0000)]
fixed a little bug with cookies and setting the branch and printer settings.
finlayt [Sat, 18 May 2002 05:07:26 +0000 (05:07 +0000)]
improoved layout and branch and printer settings are displayed
finlayt [Sat, 18 May 2002 05:05:53 +0000 (05:05 +0000)]
Completely new. This file handles the issues, and sets branch and printer
cookie.
finlayt [Sat, 18 May 2002 05:04:43 +0000 (05:04 +0000)]
fixed the branch and printer setting mechanism
changed layout slightly
finlayt [Sat, 18 May 2002 05:02:25 +0000 (05:02 +0000)]
script for changing the branch and printer settings, taken from circulation.pl
tonnesen [Fri, 17 May 2002 22:03:14 +0000 (22:03 +0000)]
Benchmarking files for comparing performance of two different proposed database
schemas for MARC storage. See IRC log at
http://www.haz.cmsd.bc.ca/cgi-bin/kohalog.pl
for information on the two proposals.
tonnesen [Thu, 16 May 2002 23:08:05 +0000 (23:08 +0000)]
Few more changes... not much to look at yet, still wrapping my head around the
new schema
tonnesen [Thu, 16 May 2002 20:42:55 +0000 (20:42 +0000)]
Used subfieldcode where I should have used subfieldid (in primary key) Note
that I changed bibcode and tagcode to bibid and tagid as well to avoid
confusion with subfieldcode (which is the one letter subfield code)
tonnesen [Thu, 16 May 2002 20:27:12 +0000 (20:27 +0000)]
Added marc_NXX_subfield_table tables
tonnesen [Thu, 16 May 2002 18:10:35 +0000 (18:10 +0000)]
Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote. :)
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!!!!