Chris Cormack
97034354ce
Switching debug back off ... whoops
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:22 -06:00
Chris Cormack
ef6b767117
Changing CanBookBeRenewed to pass back the reason a renewal cannot proceed
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:20 -06:00
Ryan Higgins
f18482f172
CHANGE TO PREVIOUS .046 DATABASE UPDATE
...
This commit changes .046 updatedatebase , where itemnumber was changed
to int and keyed on items table. As there is code in serials module that
uses itemnumber (text) as a list of itemnumbers, this change would cause data
loss if that field had multiple items in it.
Instead, we add a new table to link serial and items tables, so that
(1) we can have many items per serial issue, and
(2) staged upgrades that use the serial.itemnumber (text) list won't be affected.
Further commits will make use of the serialitems linking table.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:17 -06:00
4c832dca8b
Adding redirect parameter to opac-userupdate.pl so that message can be displayed on opac-user.pl when patron submits changes. Copying dialog styles from staff client.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:05 -06:00
11fb51d19e
Some cleanup of new till reconciliation page, including adding menu item to sidebar menu and adding date format system pref to the script.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:02 -06:00
Chris Cormack
7da7c2f63c
Changing z3950 search in cataloguing to use the name rather than the host
...
when listing z3950 servers to search
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:13:00 -06:00
Chris Cormack
1dd056f954
Fix for bug 1753
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 16:12:57 -06:00
Galen Charlton
4df803ec36
remove extra warn left in by mistake
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:08:16 -06:00
Galen Charlton
144d65e809
improved instructions for installing DBD::mysql
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:08:08 -06:00
Galen Charlton
5290ec5596
test suite cleanup
...
Many of the tests were failing or putting warnings
because a valid systempreferences table is
usaully absent by the time 'make test' is run.
Fortunately, only a few modules try to invoke
C4::Context->preference during module initialization,
so added to the test suite override_context_prefs.pm,
which replaces preference() with a sub to return
testing values for three variables: 'dateformat',
'marcflavour', and 'LibraryName'.
Also fixed bug in t/Boolean.t
With this patch and the patch to move the DB-dependent
tests off to the side for the moment, 'make test'
now runs cleanly, at least on Debian.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:08:02 -06:00
Galen Charlton
6530b683f8
Makefile.PL - set KOHA_CONF for make test
...
KOHA_CONF now set to blib/KOHA_CONF_DIR/koha-conf.xml
for the purpose of running the test suite.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:55 -06:00
Galen Charlton
156cbf4eb6
DB-dependent tests moved
...
Moved test cases that depend on the DBMS and having
an initialized Koha database to a subdirectory
of t so that they will not be swept up into
the default 'make test'. Goal is to have
these DB-dependent tests runnable either via
a special make target or perhaps from the
web installer.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:38 -06:00
Galen Charlton
a49b1e07bc
t/Date.t - now uses Test::More
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:33 -06:00
Galen Charlton
d7d8e522db
removed t/Charset.t
...
Functions being tested no longer exist
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:31 -06:00
Galen Charlton
1943e17d60
C4::Output tests -- removed inccorect tests
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:23 -06:00
Henri-Damien LAURENT
c85458a33e
BugFix for Circulation
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:20 -06:00
Henri-Damien LAURENT
e7b1232250
Adding feature : multiple returns via moremember page.
...
Adding Connection for renewScript
Adding javascript functions to moremeber.tmpl
Adding error management for returns.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:07:03 -06:00
Ryan Higgins
c727170358
Framework update: make cn_itempart visible, rm mandatory on 300$a.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:06:26 -06:00
MJ Ray
0eb6d9f6c8
Undo strange copy-paste error from last commit
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:06:12 -06:00
MJ Ray
89c0cf9150
die on db connection failure
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:05:29 -06:00
Joe Atzberger
d50e96d50a
Languages.pm - add a carp for bad arg, return undef upon failure
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:04:57 -06:00
Joe Atzberger
536b855b90
edithelp.pl - cleanup, refactor and error feedback to user
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:04:48 -06:00
Joe Atzberger
1e4c053076
Output.pm - integrity checks prevent warns, author should judge FIXME's
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:04:45 -06:00
Joe Atzberger
88b2c19a25
help.pl - bugfix module usage (HTML::Template::Pro)
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:03:16 -06:00
Joe Atzberger
551e67b05a
borrowers_stats.pl - silence warning
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:03:05 -06:00
Joe Atzberger
6276729af2
help templates and includes - cleanup for XHTML validation, error display
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 14:02:56 -06:00
Joshua Ferraro
a4d63149e8
adding translations to OPAC
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:18:49 -06:00
Joshua Ferraro
7ec47eb8b9
misc/translator/po/hy-Armn-i-staff-prog-v-30000.pot update
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:18:31 -06:00
Ryan Higgins
d7821250aa
Some templating for serials.
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:11:46 -06:00
Ryan Higgins
3de59aba27
Serials updates to link item record to serial table.
...
This commit makes db changes to subscription, serials tables:
allow subscriptions larger than 127 issues
link serial to item uniquely.
MARC Framework:
Adding MARC tag 942$s (990$s unimarc) to map biblio.serial
Udate biblio.serial on new-subscription.
Use biblio.serial to check if Items.pm should return
pubdate and enumeration text string from serials table with items.
Update opac-detail so serial items are sorted most recent first.
Adding link from items table to serial table.
Allows sorting of serials in details pages, and removes
enum data from itemnotes field.
Also fixes visibility in serials item editor
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:11:45 -06:00
Ryan Higgins
ccadef4372
set of serials fixes to subscriptions
...
fix zeroes in enddate field and backwards public v nonpublic notes
do not allow modification of free-text subscription history
changing terms from supplier to vendor
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:11:42 -06:00
Ryan Higgins
6e876ab7cb
tmpl bugfix - remove '\' in js-generated numberpattern form
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-08 11:11:40 -06:00
Chris Cormack
e50b7bd4c9
Removing Carp call from guided_reports.pl
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:25 -06:00
Chris Cormack
b9b77bcb60
Still a work in progress, pendingreserves.pl is quite broken
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:24 -06:00
Chris Cormack
1bd7615fab
Adding link to til reconciliation
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:22 -06:00
Chris Cormack
af585e3009
More work on the til reconciliation report
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:19 -06:00
Chris Cormack
da1e7c52a2
stats.screen.pl template file, grabbed from 2.2 needs to be 3.0ified
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:18 -06:00
Chris Cormack
ca4b23e929
Work in progress, working on the til reconciliation report
...
More patches to come
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:49:16 -06:00
Chris Cormack
7ceb48fc15
Fix for bug 1334 better error messages if one or 2 fields are left blank
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:59 -06:00
Chris Cormack
6ecba451a3
Adding a call to check auth on opac-renew.pl
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:58 -06:00
Joe Atzberger
ce95144242
Overdues.pm - fix typo ("Context" not "context")
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:57 -06:00
Mason James
9277b9e55d
another ' missing $query arg to themelanguage()' call
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:55 -06:00
Chris Cormack
7bce030fc6
Fix for bug 1741, max reserves not being respected in the opac
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:53 -06:00
Chris Cormack
ab8104f99f
Fix for missing CGI object in call to themelanguage
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:52 -06:00
Chris Cormack
9678cfc38d
Fix for bug 1738, opac-reserve now blocks reserving not for loan items
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:51 -06:00
Joe Atzberger
39b9859c70
Z3950.pm - BEGIN block VERSION and vars related to export.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:50 -06:00
Joe Atzberger
e9d7aaccad
VirtualShelves.pm - BEGIN block VERSION and vars related to export.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:49 -06:00
Joe Atzberger
4b6bf33656
Suggestions.pm - BEGIN block VERSION and vars related to export.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:48 -06:00
Joe Atzberger
e3e8f09a3e
Stats.pm - BEGIN block VERSION and vars related to export.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:47 -06:00
Joe Atzberger
c9c6c8dd6e
Serials.pm - BEGIN block VERSION and vars related to export.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2008-01-07 20:02:46 -06:00