Commit graph

39779 commits

Author SHA1 Message Date
amillar
97a5af0b2d Add comments, make branchrelations consistent with other table additions 2002-05-21 05:12:42 +00:00
rangi
9775fedd9b Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
2002-05-21 01:17:44 +00:00
rangi
da29b56e28 Fixing ItemInfo2 to ItemInfo 2002-05-21 01:16:02 +00:00
amillar
35d366f4d5 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).
2002-05-20 04:55:20 +00:00
rangi
9a573709f1 Adding in publisher and abstract as search fields 2002-05-19 21:27:12 +00:00
amillar
7c65ea04c5 Some cleanup, reformatting, fix some undeclared variables 2002-05-18 07:01:27 +00:00
amillar
1984194f78 Removing Catalogue.pm because it doesn't compile cleanly yet 2002-05-18 06:56:13 +00:00
finlayt
3f876641ca Changed the wording of error message from:
"Cannot transfer item to branch it is already at"
to: "Item already at destination branch"
2002-05-18 05:38:57 +00:00
finlayt
d06de68d9e fixed a little bug with cookies and setting the branch and printer settings. 2002-05-18 05:37:26 +00:00
finlayt
73706c24f7 improoved layout and branch and printer settings are displayed 2002-05-18 05:07:26 +00:00
finlayt
4a54639472 Completely new. This file handles the issues, and sets branch and printer
cookie.
2002-05-18 05:05:53 +00:00
finlayt
65b3df77cc fixed the branch and printer setting mechanism
changed layout slightly
2002-05-18 05:04:43 +00:00
finlayt
efee891bca script for changing the branch and printer settings, taken from circulation.pl 2002-05-18 05:02:25 +00:00
tonnesen
63474fc22f 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.
2002-05-17 22:03:14 +00:00
tonnesen
86c0d5ce87 Few more changes... not much to look at yet, still wrapping my head around the
new schema
2002-05-16 23:08:05 +00:00
tonnesen
87a0602708 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)
2002-05-16 20:42:55 +00:00
tonnesen
8def1d132e Added marc_NXX_subfield_table tables 2002-05-16 20:27:12 +00:00
tonnesen
3437472f27 Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote.  :)
2002-05-16 18:10:35 +00:00
tipaul
0af09bc098 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)
2002-05-16 16:20:40 +00:00
rangi
8a0aa32e8e Just a little fix to make it display an add variable button instead of add
new member.
add variable button is in koha-html
2002-05-16 02:16:27 +00:00
tipaul
8cd909ead8 smalll bugfixes and code cleaning. See mail in koha-devel for remaining questions 2002-05-15 14:32:48 +00:00
tipaul
c00363a571 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');
2002-05-15 12:17:35 +00:00
tipaul
b1dd6ad93b small bugfix : adding bibdata only if exist 2002-05-15 08:17:59 +00:00
tipaul
6d2a66e639 newsubtitle called only if title exist 2002-05-15 07:52:01 +00:00
tipaul
9485844330 bugfix : link corrected to acquisition 2002-05-15 07:40:45 +00:00
rangi
1c94d32cc2 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 :)
2002-05-15 06:11:21 +00:00
rangi
a800aae2f6 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
2002-05-15 04:54:07 +00:00
rangi
b355e2187c Reverting back to old search.pl (for now)
The html::template version is in html-template
2002-05-15 04:36:51 +00:00
tonnesen
f5453dce2a Darn. Committed over old search.pl... really going to have to learn how to
roll back files.  ;)
2002-05-15 04:16:37 +00:00
tonnesen
101d1c604e 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...
2002-05-15 04:12:24 +00:00
truth_nz
cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
truth_nz
7ae8f46a85 Patch to acqui system to use new newbiblioitem() parameters 2002-05-15 02:22:24 +00:00
rangi
5776c0cc62 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
2002-05-15 00:39:43 +00:00
rangi
1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
tonnesen
f490f252c2 Bug that prevented picking alternate themes from default 2002-05-14 21:54:41 +00:00
tonnesen
fad9ba7d69 Fixed some breakage... 2002-05-14 21:46:11 +00:00
rangi
171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +00:00
rangi
5966c66004 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
2002-05-14 21:33:23 +00:00
tonnesen
c619d5afba 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.
2002-05-14 19:34:44 +00:00
tipaul
f2509ca2b2 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) ...
2002-05-14 11:26:09 +00:00
tipaul
00319751b7 DB query optimisation 2002-05-14 09:13:52 +00:00
tipaul
64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz
bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +00:00
tonnesen
5aa4116d16 Added cell padding back in to table for default.tmpl 2002-05-13 23:31:23 +00:00
tonnesen
8d2b361239 Fixed reference to newsearch.pl instead of search.pl 2002-05-13 23:22:42 +00:00
tonnesen
5a7f47998a 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.
2002-05-13 23:20:45 +00:00
tonnesen
b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +00:00
tonnesen
f1afbb56f2 Changes:
- templates are expected to be found in
    INCLUDESDIR/templates/catalogue/searchresults/default.tmpl
 - Works with default Search.pm from cvs
2002-05-13 23:05:45 +00:00
rangi
4e4ff04a0e 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
2002-05-13 22:29:27 +00:00
tipaul
c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00