Commit graph

11737 commits

Author SHA1 Message Date
79b8fca2b1 Additional changes to fix Bug 3920, XSLTdetailDisplay syspref controls both OPAC and Intranet
This patch adds XSLTDetailsDisplay and XSLTResultsDisplay variables
for the staff client, OPACXSLTDetailsDisplay and OPACXSLTResultsDisplay
variables to the OPAC. Note that the XSLTResultsDisplay doesn't actually
do anything because no one has added an XSLT version of search results
to the staff client.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:36:25 -05:00
Chris Nighswonger
cf174a2749 Bugfix: Removing useless lines from patroncards/manage.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:34:57 -05:00
Nicole Engard
508df9946c add patron card help files
there are still more to add, but these are what I have written so far

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:13:22 -05:00
Nicole Engard
0f56aca4ef updated help files
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:13:21 -05:00
Chris Cormack
1858064501 Bug 2505 adding use warnings to edithelp.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:10:46 -05:00
Chris Cormack
bc91aec887 Bug 2505 adding use warnings, also added missing copyright statement
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:10:45 -05:00
Garry Collum
92702aa010 Bug 2505: Enables warnings in matching-rules.pl.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 22:10:43 -05:00
Chris Cormack
87ff46ba67 Bug 3797, second part of the patch, extending output_html_with_http_headers to take a status parameter (optional)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 14:11:53 -05:00
Chris Cormack
434ab8162f Bug 3797 output 404 error page with a 404 header
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 14:11:44 -05:00
88681d9862 bug 4152: fixed template so that barcode file uploads work
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 13:33:51 -05:00
6672df6de8 bug 4152: fixed call to GetItemsForInventory()
Restores ability to run a report of items for inventory.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 12:45:08 -05:00
Chris Cormack
461b61ad8a Fix for Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database
[Patch originally by Ricardo Dias Marques]

Bug 3730 - Wrong ISO 639-2 Language Code for Portuguese in database
http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3730

For 3.0.x head of the Git branch, the ISO 639-2 Language Code for
Portuguese in Koha database is wrong.

Specifically, in the table "language_rfc4646_to_iso639", when the
field "rfc4646_subtag" has the value "pt", the field "iso639_2_code"
should have the value of "por" and NOT the current one of "pol"
("pol" refers to "Polish" as correctly also appears for the code "pl",
in the row above the "pt" one).

In my test setups, this showed some serious sequences for people
that choose the Portuguese language in the Web Installer, namely:
- very weird look of Staff client with missing Header and Footer,
that renders the Staff client unusable
- Portuguese translation apparently not getting updated for the OPAC
(for people that do an Upgrade from a previous version)

This patch is for the 3.0.x branch (I tested it with that branch).

For the master branch, I don't have a database setup to create and
test a similar patch but Chris Cormack nicely volunteered to do that.
Thanks Chris!

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 12:03:58 -05:00
Henri-Damien LAURENT
007b10446f bug Fixing : 3640
This patch filters all non itemrelated fields in the marcrecord before making update

AddItemhad the same problem as ModItem
They would try and take fields which would not be item fields

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 08:57:00 -05:00
Magnus Enger
8c62c84ac2 Fixes a typo in marc21_field_008.pl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 08:55:31 -05:00
13ab69ae08 bug 4122: make WebBasedSelfCheck functional
The WebBasedSelfCheck preference is now functional - if a user
tries to use /cgi-bin/koha/sco/sco-main.pl if the preference
is not on, they get redirected to the OPAC home page.

Also, the patron image web service now returns HTTP 403 (forbidden) unless
both WebBasedSelfCheck and ShowPatronImageInWebBasedSelfCheck are on.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 08:41:50 -05:00
Henri-Damien LAURENT
209637695d bug 3893 : No way to see late orders
When no lateorders were found, there was no way to change the limit in order to check for older orders

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 08:41:48 -05:00
3d19eb7fef bugs 3912, 4144: can now add contracts if dataformat is not metric
Fixed bug in date validation that prevented adding new contracts
if the dateformat syspref was set to something other than 'metric'.

In process, also removed three hand-written date validation routines
in favor of using JavaScript Date objects and the Date_from_syspref
function provided in calendar.inc.

This fixes bug 3912, and partially addresses bug 4144.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 08:41:47 -05:00
89fab00e99 removing test.pl
Following up on patch submitted by Colin Campbell, convinced
myself that this was a throwaway test script comitted in error.
Since it isn't of use otherwise, I've elected to remove it
instead of moving it to misc/split_test.pl as Colin proposes.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 06:27:30 -05:00
Zeno Tajoli
1d0bd7fc59 Bug 3162 Fix only for [forward port of tempoary fix 3.0.x]
Note that this patch causes the authority subfield visibility
to match 3.0.x, but at a cost - only two options are available now,
hide all and show all, and much flexibility is lost.  This will
need to be improved.

(cherry picked from commit 56831089ed)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 06:23:08 -05:00
Garry Collum
f02e460671 Bug 3860: Can't expand authorities.
Adds a link to the Authority tag to expand the fields if advancedMARCeditor is in "Don't display" mode.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 05:59:50 -05:00
Colin Campbell
e66929f052 Bug 4147 Correct name of external javascript file
An earlier patch inadvertantly reverted a name change in the template

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 05:53:33 -05:00
Colin Campbell
7ea29365df bugfix Dates.t test plan has wrong value
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 05:53:28 -05:00
570e6fc7c0 bug 4145 - fix typo in sysprefs.sql
Fixed following error during new en installation:

ERROR 1064 (42000) at line 217: You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the right
syntax to use near ''XSLTDetailsDisplay','0','','Enable XSL stylesheet control
over details page dis' at line 1

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-09 13:54:29 -05:00
Chris Nighswonger
0eb65d1902 Bugfix: Uncommenting pagination code
Pagination code was commented out during development causing the
spill over page one to be wrapped back onto page one. This patch
fixes that problem.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-09 11:03:18 -05:00
Colin Campbell
bcde53b5ba Bug 2505 Enabled warnings in authorities/*
Fixed obvious warnings generators in scripts
with mismatched comparisons or undefined variables
removed temporary variable selected while ensuring the
comparison it represented was between two defined variables

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:47:53 -05:00
Colin Campbell
702c4e5d98 Bug 3700 Parameters passed in wrong sequence
As subsequent operations don't get what they expect
all manner of nastiness ensues

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:34:28 -05:00
Colin Campbell
284329e625 add PTFS-Europe as a contributing company
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:32:43 -05:00
Colin Campbell
7f0f83a6ec Enable warnings in koha2marclinks.pl
Fix code generating warnings with warnings enabled

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:25:47 -05:00
Colin Campbell
eee07ae861 Enable warnings in marctagstructure.pl
Fix a couple of comparisons generating warnings

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:25:45 -05:00
Colin Campbell
f4b3c131dc Bug 3723 Correct return of Institution in Patron Info Resp
While the comment correctly notes that the order of variable length
fields is not fixed some units expect mandatory fields to
follow the sequence in the protocol definition and fail
parsing otherwise. Moved institution id to its expected
place in the patron information response.

Indented the first half of the if (patron_valid) so its clearer
that two cases are handled here.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:22:29 -05:00
Colin Campbell
1deaecb6d8 (Bug 3767 - Return error if checkin passed an invalid item
If an invalid item barcode is passed to checkin
the sip2 connection dies. This is because although
no item object is created its mehods are called in Checkin
To maintain the connection properly catch the condition
and return the correct response to the unit
(should also fix Bug #3696 )

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:19:01 -05:00
0f5cba428d DB rev 116 - finish fixing default value of OrderPdfFormat
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:14:12 -05:00
Nicole Engard
0ded44769a bug 3923 followup - change orderpdfformat value if set wrong due to upgrade
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:13:20 -05:00
65540255d8 Fix for Bug 4138, Adding or deleting suggestions in the OPAC does not properly refresh the page
- Using redirect() and adding URL parameter to enable the display of
  messages on the screen confirming the action.
- Also correcting for JavaScript error in form validation routine.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 21:05:02 -05:00
Chris Nighswonger
d91ebf445f Bugfix: Enabling guide box configuration parameter
This patch enables turning the guide boxes on/off in the patron
cards layout editor.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:44 -05:00
Chris Nighswonger
2433a91e92 Removing depricated file from the C4::Labels module.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:40 -05:00
Chris Nighswonger
84d5b28f12 Bringing label, patroncard, and creator modules into conformity with the rest of C4 style.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:34 -05:00
Garry Collum
63bb60702f Bug 4142: Fixes XHTML errors in aqbudgetperiod.tmpl.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 20:54:26 -05:00
Colin Campbell
b5dafcf198 Bug 4140 label edit template links to non-existent script
changed link to point at labels script

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:46:15 -05:00
Nicole Engard
7c397b8d3b bug 3738 add preferences to new sys pref interface
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:46:13 -05:00
caf3e299f5 Merge branch '3.0.x-to-3.2.0' of /home/koha/koha1/dev into to-push
Forward-porting 3.0.x release notes.

* '3.0.x-to-3.2.0' of /home/koha/koha1/dev:
  forward-port rest of changes to 3.0.1 release notes
  Adding a translation note.
  Adding release notes for 3.0.1
  minor update on release notes
  Henri-Damien Laurent's release notes and version 3.0.2
  Preparing 3.0.3
  Updated references to Portuguese translation in Release Notes
  Followup release notes
  Adding release notes
  Update on release notes
  Adding 3.0.5 release notes

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:40:24 -05:00
f13f4b287c forward-port rest of changes to 3.0.1 release notes
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:38:01 -05:00
Henri-Damien LAURENT
932e937422 Adding a translation note.
(cherry picked from commit bd385c2248)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:23 -05:00
Henri-Damien LAURENT
b858912f5f Adding release notes for 3.0.1
Signed-off-by: Henri-Damien LAURENT <henridamien@koha-fr.org>
(cherry picked from commit 7ce704ad98)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:34:09 -05:00
Henri-Damien LAURENT
c4ef8aaead minor update on release notes
(cherry picked from commit 65ac4e38ab)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:33:15 -05:00
eb6a87d401 Henri-Damien Laurent's release notes and version 3.0.2
(cherry picked from commit d010503b80)

Conflicts:

	Makefile.PL

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:32:23 -05:00
Henri-Damien LAURENT
abcb402f0a Preparing 3.0.3
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:31:05 -05:00
Ricardo Dias Marques
407da250e2 Updated references to Portuguese translation in Release Notes
Updated references to Portuguese translation in Release Notes
for the 3.0.4 Release:

- For OPAC, removed pt-PT from the list of Partial translations
  (because it already correctly appears in the list of complete ones)

- For Staff client, added pt-PT to the list of Partial translations
(cherry picked from commit f4eb63c728)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:31 -05:00
Henri-Damien LAURENT
59b67df036 Followup release notes
list involved in release notes for koha-devel were wrong
Thanks ricardo
(cherry picked from commit 0521828140)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:29:10 -05:00
Henri-Damien LAURENT
a37cc5b27e Adding release notes
(cherry picked from commit 2eba46985b)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-08 13:28:50 -05:00