Commit graph

21441 commits

Author SHA1 Message Date
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
tonnesen
5e16850c5e Put Dewey back in template file 2002-05-10 17:12:31 +00:00
tonnesen
5c41d379cf 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.
2002-05-10 17:08:04 +00:00
rangi
27d0900c6d Just adding some spaces to test the new cvs-koha list 2002-05-10 05:03:19 +00:00
truth_nz
cec2db30ea 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
2002-05-09 03:01:40 +00:00
truth_nz
3e3b57dedf 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
2002-05-09 01:07:36 +00:00
finlayt
2131829c6b changed the destination branch dropdown to only show branches that have
categorycode == CU, ie can be current branch.
2002-05-07 04:36:00 +00:00
rangi
f1e1110cf9 Now use the new hash based results returned from Search.pm 2002-05-07 00:09:06 +00:00
rangi
3d854d01ef 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.
2002-05-07 00:08:20 +00:00
rangi
c0fc669126 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
2002-05-06 23:12:25 +00:00
rangi
bdcc8271a2 Fixing a typo 2002-05-06 21:59:40 +00:00
finlayt
fe88c2a022 Removed the "Item has been transfered" message from the returnbook2
subroutine.
2002-05-06 04:36:42 +00:00
finlayt
ca7a9d7264 Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
2002-05-06 04:30:37 +00:00
finlayt
01fdc4f833 Changed the word: Fines to: Charges 2002-05-06 04:12:48 +00:00
truth_nz
0b52637ff6 Fixed bug due to way hashes take values. Was stopping items being saved to
database. Added code to pick up branch list from database.
2002-05-06 02:47:49 +00:00
rangi
a8f9f23711 No harm in adding these to the main branch either 2002-05-03 21:40:28 +00:00
truth_nz
073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
tipaul
5c164fdc70 updated database.mysql : dropped unused tables, created indexes : old database.mysql updated by updatedatabase2.pl script 2002-05-02 09:19:49 +00:00
finlayt
23a8694aaa added branchrelations table and changed branchcategories table to allow
admin/branches.pl to work properly.
2002-05-02 00:23:26 +00:00
finlayt
9255f92b21 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
2002-05-02 00:08:53 +00:00
finlayt
277f3490be 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
2002-05-02 00:06:28 +00:00
rangi
8ea1f94eb7 Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module
2002-04-30 09:21:03 +00:00
truth_nz
9e53e8dbe7 scripts for new acqui.simple system 2002-04-29 05:29:02 +00:00
truth_nz
47c18cfcdc 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
2002-04-29 05:25:41 +00:00
finlayt
4ecb80c5f2 Fixed typo 2002-04-23 00:34:16 +00:00