Commit graph

37515 commits

Author SHA1 Message Date
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
tipaul
c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz
da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz
0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz
4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi
1b7a2530e6 Committing Paul's changes into the main branch, and salvaging the changes
made in version 1.4 that got clobberd by 1.5
2002-05-12 00:02:17 +00:00
rangi
05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
tonnesen
c7034b7e2e 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...
2002-05-10 22:38:08 +00:00
tonnesen
af3383f0b6 Cleaned up formatting of dewey number before returning result from Search.pm 2002-05-10 22:34:36 +00:00
tonnesen
45ce9c5283 Modified Search.pm to work with HTML::Template search.pl file. WARNING!! This
Search.pm will break the existing search!!!!
2002-05-10 22:24:01 +00:00
tonnesen
0058d9f7e3 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.  :)
2002-05-10 22:18:48 +00:00
tonnesen
7e48dd5114 Fixed startfrom in template links in header 2002-05-10 21:26:24 +00:00
tonnesen
f257b8ae0e Still playing. Added a "next record" link 2002-05-10 21:22:18 +00:00
tonnesen
7821d507a3 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.
2002-05-10 17:41:05 +00:00
tonnesen
0f6b4029fc Now using real data. Returns first 20 records where author starts with 's' 2002-05-10 17:21:36 +00:00