]> git.koha-community.org Git - koha.git/log
koha.git
11 years agoMerge remote-tracking branch 'origin/new/bug_9020' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:45:38 +0000 (16:45 +0100)]
Merge remote-tracking branch 'origin/new/bug_9020' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8975' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:45:09 +0000 (16:45 +0100)]
Merge remote-tracking branch 'origin/new/bug_8975' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_7932' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:29:04 +0000 (16:29 +0100)]
Merge remote-tracking branch 'origin/new/bug_7932' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_7368' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:28:13 +0000 (16:28 +0100)]
Merge remote-tracking branch 'origin/new/bug_7368' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8997' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:27:48 +0000 (16:27 +0100)]
Merge remote-tracking branch 'origin/new/bug_8997' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8880' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:27:30 +0000 (16:27 +0100)]
Merge remote-tracking branch 'origin/new/bug_8880' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8750' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:26:38 +0000 (16:26 +0100)]
Merge remote-tracking branch 'origin/new/bug_8750' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9058' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:26:04 +0000 (16:26 +0100)]
Merge remote-tracking branch 'origin/new/bug_9058' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9107' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:24:43 +0000 (16:24 +0100)]
Merge remote-tracking branch 'origin/new/bug_9107' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9046' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:24:12 +0000 (16:24 +0100)]
Merge remote-tracking branch 'origin/new/bug_9046' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9085' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:23:24 +0000 (16:23 +0100)]
Merge remote-tracking branch 'origin/new/bug_9085' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9066' into 3.10.x
Paul Poulain [Tue, 20 Nov 2012 15:22:49 +0000 (16:22 +0100)]
Merge remote-tracking branch 'origin/new/bug_9066' into 3.10.x

11 years agoBug 9020 - Translate new permissions for 3.10 nb-NO
Magnus Enger [Mon, 12 Nov 2012 11:00:44 +0000 (12:00 +0100)]
Bug 9020 - Translate new permissions for 3.10 nb-NO

To test:
- Apply the patch
- Check that installer/data/mysql/nb-NO/1-Obligatorisk/userpermissions.sql
  can be loaded into the DB without errors (you might have to do "DELETE
  FROM permissions" first)
- Check that there are no English strings when you edit the permissions
  of a patron

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 9020: [SIGNED-OFF] Translate new permissions for 3.10 de-DE
Katrin Fischer [Wed, 7 Nov 2012 13:01:49 +0000 (14:01 +0100)]
Bug 9020: [SIGNED-OFF] Translate new permissions for 3.10 de-DE

To test:
- Run the web installer in German
- Check that all permissions for a staff patron are translated

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
I did not do a complete install, but I:
- Applied the patch
- Loaded installer/data/mysql/de-DE/mandatory/userpermissions.sql
  into MySQL without any trouble
- Logged in to the staff client and found no untranslated permissions
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 8975 - search results should say on order in staff client
Owen Leonard [Fri, 2 Nov 2012 15:40:52 +0000 (11:40 -0400)]
Bug 8975 - search results should say on order in staff client

In order to allow holds on items with notforloan = -1, processing
of "unavailable" items in Search.pm was altered to exclude items
with notforloan < 0. (See Bug 2341: items marked 'on order' not
 reserveable from search results). Doing so meant that such items
were excluded from the list, in staff client search results, of
items which are unavailable.

This patch changes the logic of that processing so that items
with notforloan < 0 are considered unavailable, but can still
be placed on hold.

To test, edit a record with a single item and view that record
in search results. When the item is is on order (notforloan -1)
it should say so. The holds link should be INactive only if:

- item is withdrawn AND/OR
- item is lost AND/OR
- item is damaged (and AllowHoldsOnDamagedItems is off) AND/OR
- item is not for loan, with notforloan > 0

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
All tests pass (note that a reindex is required if changing item
statuses - which is why my first tests failed).

Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 7932 [Revised] Twitter share doesn't work with socialnetworks
Owen Leonard [Thu, 1 Nov 2012 15:21:37 +0000 (11:21 -0400)]
Bug 7932 [Revised] Twitter share doesn't work with socialnetworks

The only way I can get this to work consistently is to use
Twitter's own code as documented here:

https://dev.twitter.com/docs/tweet-button

This requires that we use the tweet button generated by Twitter
rather than the smaller image we were using before. Using the
documented options for generating a custom button produced the
same inconsistent behavior this patch attempts to fix.

Because of the change of appearance I moved the Twitter button
to last in line so that similarly-sized buttons were grouped. I
also changed the configuration of the Google+ button to exclude
the count, saving some horizontal space.

Revision removes explicit declaration of share URL. I think when
testing this previously I assumed it was required when in fact
the share URL wasn't working because it was a localhost address.

Localhost addresses are apparently rejected by Twitter. Testers
beware.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_9046' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 12:32:29 +0000 (07:32 -0500)]
Merge branch 'bug_9046' into 3.12-master

11 years agoBug 9046: Followup FIX perl v5.10 raises an error if itemnumbers if undefined
Jonathan Druart [Mon, 12 Nov 2012 09:18:30 +0000 (10:18 +0100)]
Bug 9046: Followup FIX perl v5.10 raises an error if itemnumbers if undefined

If the itemnumbers parameter is undef, perl raises an error :
"Can't use an undefined value as an ARRAY reference"

Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_7368' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 12:24:55 +0000 (07:24 -0500)]
Merge branch 'bug_7368' into 3.12-master

11 years agoBug 7368: Removing occurrences of dependant= feature in javascript open calls
Marcel de Rooy [Mon, 12 Nov 2012 12:17:04 +0000 (13:17 +0100)]
Bug 7368: Removing occurrences of dependant= feature in javascript open calls

The window feature dependant= should have been written as dependent=
Note that this feature is ignored in most/current browsers.
Since the feature was misspelled, removing it will not change any
behavior or hurt anybody.

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_8997' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 12:20:23 +0000 (07:20 -0500)]
Merge branch 'bug_8997' into 3.12-master

11 years agoBug 8997: Unnecessary call to getAllLanguages
Paul Poulain [Wed, 31 Oct 2012 17:22:14 +0000 (18:22 +0100)]
Bug 8997: Unnecessary call to getAllLanguages

In C4/Language, getTranslatedLanguages calls getAllLanguage, passes it
to _build_languages_arrayref, that does nothing of it. Removing this
dead code will clean & reduce SQL overhead

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
I tried switching between languages and enabling and disabling
languages, and could not see any change with the patch applied.

Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_8880' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 12:19:17 +0000 (07:19 -0500)]
Merge branch 'bug_8880' into 3.12-master

11 years agoBug 8880 - Uninitialized variables trigger error log entries
Mark Tompsett [Fri, 5 Oct 2012 12:33:47 +0000 (20:33 +0800)]
Bug 8880 - Uninitialized variables trigger error log entries

Simply by logging in, clicking Circulation, clicking the
'Check out' link, error log entries were generated.

This patch ensures $findborrower, $barcode, and $print are all
initialized by adding "|| q{}" onto their initializations.
This reduces the silent error log entries generated.

As this patch would overlap with bug 8826 in the initialization
of hashes to prevent other error logs, those changes are in this
patch. Applying this patch without having applied the patch for
bug 8826.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 8750 - Chronological terms authorities not correctly indexed (trivial fix)
Tomas Cohen Arazi [Mon, 10 Sep 2012 18:27:53 +0000 (15:27 -0300)]
Bug 8750 - Chronological terms authorities not correctly indexed (trivial fix)

Patch re-done so it applies, had that double-utf8 problem

There was no entry in authority's record.abs for indexing chronological
terms. They couldn't be searched and (obviously) linked.

I've added those entries using the index names defined in
authorities/etc/bib1.att

Regards
To+

Sponsored-by: Universidad Nacional de Córdoba
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_9058' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 12:02:00 +0000 (07:02 -0500)]
Merge branch 'bug_9058' into 3.12-master

11 years agoBug 9058 - Norwegian default for CalendarFirstDayOfWeek
Magnus Enger [Mon, 12 Nov 2012 11:16:48 +0000 (12:16 +0100)]
Bug 9058 - Norwegian default for CalendarFirstDayOfWeek

Sets a sensible default for CalendarFirstDayOfWeek in
installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql

To test:
- Do a complete web install in Norwegian
  OR
- Load installer/data/mysql/nb-NO/1-Obligatorisk/system_preferences.sql
  into MySQL from the command line
- Check that CalendarFirstDayOfWeek is set to 'Monday' and that
  calendars display Monday as the first day of the week.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_9107' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 11:57:38 +0000 (06:57 -0500)]
Merge branch 'bug_9107' into 3.12-master

11 years agoBug 9107: Increment version number
Jared Camins-Esakov [Tue, 20 Nov 2012 11:57:22 +0000 (06:57 -0500)]
Bug 9107: Increment version number

Database update for bug 9107 has been given version 3.09.00.066

11 years agoBug 9107: remove the syspref from the database, as well
Paul Poulain [Tue, 20 Nov 2012 10:44:18 +0000 (11:44 +0100)]
Bug 9107: remove the syspref from the database, as well

The syspref has been introduced during 3.9, so only a few libraries
should have it, but for consistency it must be removed.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 9107: Remove the obsolete DidYouMeanFromAuthorities syspref
Jared Camins-Esakov [Mon, 19 Nov 2012 16:29:30 +0000 (11:29 -0500)]
Bug 9107: Remove the obsolete DidYouMeanFromAuthorities syspref

Even though the DidYouMeanFromAuthorities syspref was replaced by a "Did
You Mean?" configuration page, the syspref was showing up in the
syspref editor on the Searching tab.

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 9046: FIX wrong test on an arrayref instead of an array
Jonathan Druart [Fri, 9 Nov 2012 17:34:40 +0000 (18:34 +0100)]
Bug 9046: FIX wrong test on an arrayref instead of an array

EmbedItemsInMarcBiblio does not embed items when the itemnumbers param
is given. That breaks the export tools (used from commandline).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_9085' into 3.12-master
Jared Camins-Esakov [Tue, 20 Nov 2012 11:50:46 +0000 (06:50 -0500)]
Merge branch 'bug_9085' into 3.12-master

11 years agoBug 9085 - Installer will not run with DEBUG set
Chris Nighswonger [Wed, 14 Nov 2012 20:36:21 +0000 (15:36 -0500)]
Bug 9085 - Installer will not run with DEBUG set

This is due to raising all db errors combined with the fact that attempts
to make selections from a non-existent systempreferences table raises db errors.

The installer should run even with DEBUG set, otherwise dropping and recreating
a development database becomes somewhat of a chore. This patch adds code to
check for the existence of the systempreferece table. If the table exists, then
RaiseError is enabled on the database handle. Otherwise it is disabled to allow
the installer to run without throwing an error.

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
The installer can now be run both with and without DEBUG set.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 9066: VirtualShelves db access not Plack+MariaDB compatible
Jared Camins-Esakov [Tue, 13 Nov 2012 14:25:42 +0000 (09:25 -0500)]
Bug 9066: VirtualShelves db access not Plack+MariaDB compatible

The $dbh database handle in C4::VirtualShelves was declared at the
module level, which means under Plack it is initialized only once, when
the server first starts. With the default MySQL configuration this is
not a problem, since the MySQL connection does not time out, but the
MariaDB default configuration does time out, resulting in every page
that calls any sub in C4::VirtualShelves failing after a certain period.
This patch eliminates the module-level $dbh variable and replaces it
with $dbh handles in each subroutine that requires it.

To test:
Confirm that Virtual Shelves functionality still works as expected. The
problem is not reproducible when using Apache or Plack+MySQL, but if
everything works after the patch has been applied, the changes are safe.

Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge remote-tracking branch 'origin/new/bug_8968' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:35:28 +0000 (18:35 +0100)]
Merge remote-tracking branch 'origin/new/bug_8968' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_7500' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:34:39 +0000 (18:34 +0100)]
Merge remote-tracking branch 'origin/new/bug_7500' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_6428' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:33:53 +0000 (18:33 +0100)]
Merge remote-tracking branch 'origin/new/bug_6428' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9039' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:33:38 +0000 (18:33 +0100)]
Merge remote-tracking branch 'origin/new/bug_9039' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9050' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:32:52 +0000 (18:32 +0100)]
Merge remote-tracking branch 'origin/new/bug_9050' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8945' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:32:29 +0000 (18:32 +0100)]
Merge remote-tracking branch 'origin/new/bug_8945' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8892' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:31:04 +0000 (18:31 +0100)]
Merge remote-tracking branch 'origin/new/bug_8892' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9054' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:29:32 +0000 (18:29 +0100)]
Merge remote-tracking branch 'origin/new/bug_9054' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9036' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:29:13 +0000 (18:29 +0100)]
Merge remote-tracking branch 'origin/new/bug_9036' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_7119' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:28:26 +0000 (18:28 +0100)]
Merge remote-tracking branch 'origin/new/bug_7119' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_8915' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:27:50 +0000 (18:27 +0100)]
Merge remote-tracking branch 'origin/new/bug_8915' into 3.10.x

11 years agoMerge remote-tracking branch 'origin/new/bug_9053' into 3.10.x
Paul Poulain [Fri, 16 Nov 2012 17:18:39 +0000 (18:18 +0100)]
Merge remote-tracking branch 'origin/new/bug_9053' into 3.10.x

11 years agoBug 8968 "Add to cart" translatable on OPAC result page
Frédéric Demians [Thu, 25 Oct 2012 08:07:54 +0000 (10:07 +0200)]
Bug 8968 "Add to cart" translatable on OPAC result page

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoBug 7500 [Lists follow-up] Use CSS Sprites for faster page loading
Owen Leonard [Thu, 8 Nov 2012 17:19:05 +0000 (12:19 -0500)]
Bug 7500 [Lists follow-up] Use CSS Sprites for faster page loading

I just noticed there were a couple of instances where the lists
page referred to an image which was removed in a previous patch
for Bug 7500. This patch corrects it.

To test, edit a list in the OPAC. The breadcrumbs menu should
have no broken images.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
11 years agoMerge branch 'bug_6428' into 3.12-master
Jared Camins-Esakov [Tue, 13 Nov 2012 14:48:16 +0000 (09:48 -0500)]
Merge branch 'bug_6428' into 3.12-master

11 years agoBug 6428 follow-up: Increment version number
Jared Camins-Esakov [Tue, 13 Nov 2012 14:45:19 +0000 (09:45 -0500)]
Bug 6428 follow-up: Increment version number

Database update for bug 6428 (follow-up) has been given version 3.09.00.065

11 years agoBug 6428 [Follow-up] refered column 'items.coded_location_qualifier' does not exist
Nuño López Ansótegui [Mon, 12 Nov 2012 08:36:35 +0000 (09:36 +0100)]
Bug 6428 [Follow-up] refered column 'items.coded_location_qualifier' does not exist

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
12 years agoMerge branch 'bug_9039' into 3.12-master
Jared Camins-Esakov [Tue, 13 Nov 2012 01:06:31 +0000 (20:06 -0500)]
Merge branch 'bug_9039' into 3.12-master

12 years agoBug 9039 - Tests in the basic test suite should only test code based on required...
Chris Nighswonger [Thu, 8 Nov 2012 21:14:52 +0000 (16:14 -0500)]
Bug 9039 - Tests in the basic test suite should only test code based on required dependencies/modules

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_9050' into 3.12-master
Jared Camins-Esakov [Mon, 12 Nov 2012 23:54:24 +0000 (18:54 -0500)]
Merge branch 'bug_9050' into 3.12-master

12 years agoBug 9050: Use safer adelete when deleting records from Zebra index
Jared Camins-Esakov [Sat, 10 Nov 2012 13:40:19 +0000 (08:40 -0500)]
Bug 9050: Use safer adelete when deleting records from Zebra index

Previously we used the "delete" command in zebraidx, which fails when
you try to delete a record that doesn't exist in the index. By changing
to the "adelete" command, we can reduce the likelihood of a failed
delete causing ghost records. A symptom of this problem is the warning
message occasionally encountered when indexing from the zebraqueue,
"[warn] cannot delete record above (seems new)."

To test:
1) Add a recordDelete action for a record that does not exist to
   zebraqueue in MySQL:
   INSERT INTO zebraqueue (biblio_auth_number, operation, server) \
       VALUES (999999999, 'recordDelete', 'biblioserver');
2) Run `rebuild_zebra.pl -b -z -v [-x]`.
3) Note that you do not get the message "[warn] cannot delete record
   above (seems new)".

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8945' into 3.12-master
Jared Camins-Esakov [Mon, 12 Nov 2012 23:49:43 +0000 (18:49 -0500)]
Merge branch 'bug_8945' into 3.12-master

12 years agoBug 8945: Add missing acq help file
Nicole C. Engard [Fri, 9 Nov 2012 15:48:16 +0000 (10:48 -0500)]
Bug 8945: Add missing acq help file

This adds the missing order from staged file help doc
to Koha.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8892' into 3.12-master
Jared Camins-Esakov [Mon, 12 Nov 2012 23:44:59 +0000 (18:44 -0500)]
Merge branch 'bug_8892' into 3.12-master

12 years agoBug 8892 fix Plack scoping in acquisition
Paul Poulain [Fri, 2 Nov 2012 09:21:24 +0000 (10:21 +0100)]
Bug 8892 fix Plack scoping in acquisition

basket.pl has a local sub get_order_infos that require our-ing the
basketno variable.
Note that I had no problem with this variable. It may be some dead code,
but I couldn't be sure it is, so I just switched basketno to "our"

neworderempty.pl has 2 local sub that require our-ing some variables:
subs MARCfindbreeding and Load_Duplicate

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 9054: 00-load should not try to load modules with optional dependencies
Jared Camins-Esakov [Sat, 10 Nov 2012 19:05:13 +0000 (14:05 -0500)]
Bug 9054: 00-load should not try to load modules with optional dependencies

Prior to this patch, t/00-load.t was trying to load Koha::SearchEngine,
which fails when Moose is not installed.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_9036' into 3.12-master
Jared Camins-Esakov [Mon, 12 Nov 2012 23:40:00 +0000 (18:40 -0500)]
Merge branch 'bug_9036' into 3.12-master

12 years agoBug 9036 - 00-load.t checks Koha::Cache::Memcached when it should not this patch...
Chris Nighswonger [Thu, 8 Nov 2012 21:06:47 +0000 (16:06 -0500)]
Bug 9036 - 00-load.t checks Koha::Cache::Memcached when it should not this patch adds code to skip this module during this test

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 7119 - tidy t/00-load.t
Christopher Nighswonger [Thu, 8 Nov 2012 20:29:48 +0000 (15:29 -0500)]
Bug 7119 - tidy t/00-load.t

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8915' into 3.12-master
Jared Camins-Esakov [Mon, 12 Nov 2012 15:04:42 +0000 (10:04 -0500)]
Merge branch 'bug_8915' into 3.12-master

12 years agoBug 8915: Followup FIX QA issues
Jonathan Druart [Fri, 9 Nov 2012 13:11:41 +0000 (14:11 +0100)]
Bug 8915: Followup FIX QA issues

Before this patch:
* misc/maintenance/fix_mysql_constraints.pl                                FAIL
    pod                         FAIL
        *** ERROR: unterminated B<...>  in file misc/maintenance/fix_mysql_constraints.pl
    forbidden patterns          OK
    valid                       OK
    critic                      FAIL
        "require" statement with library name as string at line 25, column 12. Use a bareword instead.

+ I add a die on the open statement

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8915 A script fixing missing MySQL contraints
Frédéric Demians [Sat, 13 Oct 2012 14:45:56 +0000 (16:45 +0200)]
Bug 8915 A script fixing missing MySQL contraints

Help: fix_mysql_contraints.pl -h
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 9053: Test::MockModule and DBD::Mock should be required
Jared Camins-Esakov [Sat, 10 Nov 2012 19:03:11 +0000 (14:03 -0500)]
Bug 9053: Test::MockModule and DBD::Mock should be required

Test::MockModule and DBD::Mock are required for the unit tests in t/
to run. This is good, but means they should be required.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge remote-tracking branch 'origin/new/bug_7921' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:45:25 +0000 (14:45 +0100)]
Merge remote-tracking branch 'origin/new/bug_7921' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8988' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:44:00 +0000 (14:44 +0100)]
Merge remote-tracking branch 'origin/new/bug_8988' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8931' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:27:46 +0000 (14:27 +0100)]
Merge remote-tracking branch 'origin/new/bug_8931' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_9010' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:27:08 +0000 (14:27 +0100)]
Merge remote-tracking branch 'origin/new/bug_9010' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8989' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:25:22 +0000 (14:25 +0100)]
Merge remote-tracking branch 'origin/new/bug_8989' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8972' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:24:23 +0000 (14:24 +0100)]
Merge remote-tracking branch 'origin/new/bug_8972' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8832' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:23:14 +0000 (14:23 +0100)]
Merge remote-tracking branch 'origin/new/bug_8832' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8919' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:22:15 +0000 (14:22 +0100)]
Merge remote-tracking branch 'origin/new/bug_8919' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_9005' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:21:44 +0000 (14:21 +0100)]
Merge remote-tracking branch 'origin/new/bug_9005' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8784' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:21:03 +0000 (14:21 +0100)]
Merge remote-tracking branch 'origin/new/bug_8784' into 3.10.x

12 years agoMerge remote-tracking branch 'origin/new/bug_8805' into 3.10.x
Paul Poulain [Mon, 12 Nov 2012 13:20:28 +0000 (14:20 +0100)]
Merge remote-tracking branch 'origin/new/bug_8805' into 3.10.x

12 years agoBug 5490: smsoverdues.pl is an orphan
Jared Camins-Esakov [Wed, 31 Oct 2012 23:23:35 +0000 (19:23 -0400)]
Bug 5490: smsoverdues.pl is an orphan

The script misc/cronjobs/smsoverdues.pl requires HTML::Template::Pro and
uses templates that do not exist in Koha. Since this has been true for
at least a year and a half, and no one is aware of anyone who is using
it, it seems prudent to remove the script so that no one is confused
and/or distressed by its non-functioning nature.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Passed-QA-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8996' into 3.12-master
Jared Camins-Esakov [Sat, 10 Nov 2012 02:30:30 +0000 (21:30 -0500)]
Merge branch 'bug_8996' into 3.12-master

12 years agoBug 8996: In result page items with negative notforloan are available
Fridolyn SOMERS [Wed, 31 Oct 2012 15:45:14 +0000 (16:45 +0100)]
Bug 8996: In result page items with negative notforloan are available

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Passed-QA-by: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_6428' into 3.12-master
Jared Camins-Esakov [Sat, 10 Nov 2012 01:37:26 +0000 (20:37 -0500)]
Merge branch 'bug_6428' into 3.12-master

12 years agoBug 6428: Increment version number
Jared Camins-Esakov [Sat, 10 Nov 2012 01:36:13 +0000 (20:36 -0500)]
Bug 6428: Increment version number

Database update for bug 6428 has been given version 3.09.00.064

12 years agoBug 6428 - refered column 'items.coded_location_qualifier' does not exist
Nuño López Ansótegui [Tue, 23 Oct 2012 11:32:43 +0000 (13:32 +0200)]
Bug 6428 - refered column 'items.coded_location_qualifier' does not exist

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_7921' into 3.12-master
Jared Camins-Esakov [Sat, 10 Nov 2012 01:24:24 +0000 (20:24 -0500)]
Merge branch 'bug_7921' into 3.12-master

12 years agoBug 7921: Software error while placing order
Fridolyn SOMERS [Wed, 31 Oct 2012 13:26:31 +0000 (14:26 +0100)]
Bug 7921: Software error while placing order

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8988: item status uses authorized value description for intranet
Fridolyn SOMERS [Tue, 30 Oct 2012 16:12:33 +0000 (17:12 +0100)]
Bug 8988: item status uses authorized value description for intranet

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Passed-QA-by: Marcel de Rooy <M.de.Rooy@rijksmuseum.nl>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8931' into 3.12-master
Jared Camins-Esakov [Sat, 10 Nov 2012 01:08:49 +0000 (20:08 -0500)]
Merge branch 'bug_8931' into 3.12-master

12 years agoBug 8931 [Follow-up] submit buttons have blue background
Owen Leonard [Thu, 8 Nov 2012 16:40:58 +0000 (11:40 -0500)]
Bug 8931 [Follow-up] submit buttons have blue background

This follow-up removes the white background from fieldsets
with class "action" when they are embedded inside another
fieldset (Comment 4).

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Passed-QA-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 9010 - Follou up Quote of the day: Umlauts do not display correctly
Marc Veron [Tue, 6 Nov 2012 12:56:30 +0000 (13:56 +0100)]
Bug 9010 - Follou up Quote of the day: Umlauts do not display correctly

After applying Serhij's patch I had still troubles with umlauts, e.g. while editing or adding a new quote.

Added explicit utf-8 encoding at 3 places.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Passed-QA-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 9010 - Quote of the day: Umlauts do not display correctly Added utf8-encoding...
Serhij Dubyk {Сергій Дубик} [Tue, 6 Nov 2012 12:16:39 +0000 (14:16 +0200)]
Bug 9010 - Quote of the day: Umlauts do not display correctly Added utf8-encoding in json-header for correct view quotes in quotes editor.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Passed-QA-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_8832' into 3.12-master
Jared Camins-Esakov [Fri, 9 Nov 2012 04:23:52 +0000 (23:23 -0500)]
Merge branch 'bug_8832' into 3.12-master

12 years agoBug 8832: Increment version number
Jared Camins-Esakov [Fri, 9 Nov 2012 04:17:21 +0000 (23:17 -0500)]
Bug 8832: Increment version number

Database update for bug 8832 has been given version 3.09.00.063

12 years agoBug 8989 - Availability facet needs an id
Owen Leonard [Wed, 31 Oct 2012 16:02:56 +0000 (12:02 -0400)]
Bug 8989 - Availability facet needs an id

This patch adds an id to the <li> which contains
the "limit to available" facet in the OPAC and
staff client.

To test, add custom CSS for the staff client and
OPAC to hide the id "availability_facet" and
confirm that the link is no longer visible.

Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>
Passed-QA-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8972 - Due Date set to 100 years ago
Owen Leonard [Wed, 7 Nov 2012 14:41:03 +0000 (09:41 -0500)]
Bug 8972 - Due Date set to 100 years ago

In order to prevent submission of dates with ambiguous two-digit
years this patch makes date-due input fields read-only so that
users must use date/time picker.

Other minor fixes:

- Adding missing labels
- Adding common class wrapper to datepicker for checkout and renewal
- Correcting focus handling on "specify due date" field (should
  focus on barcode field after a date has been selected).
- Removing trailing comma from JavaScript (breaks IE)

To test, try typing an invalid number in any of the date due entry
fields: Under 'specify due date,' 'renewal due date,' or the
confirm "invalid" date dialog (after specifying a date in the past).
Manual entry should not work. Choosing a date/time using the
widget should work.

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8972 - Due Date set to 100 years ago
Owen Leonard [Wed, 7 Nov 2012 14:41:03 +0000 (09:41 -0500)]
Bug 8972 - Due Date set to 100 years ago

In order to prevent submission of dates with ambiguous two-digit
years this patch makes date-due input fields read-only so that
users must use date/time picker.

Other minor fixes:

- Adding missing labels
- Adding common class wrapper to datepicker for checkout and renewal
- Correcting focus handling on "specify due date" field (should
  focus on barcode field after a date has been selected).
- Removing trailing comma from JavaScript (breaks IE)

To test, try typing an invalid number in any of the date due entry
fields: Under 'specify due date,' 'renewal due date,' or the
confirm "invalid" date dialog (after specifying a date in the past).
Manual entry should not work. Choosing a date/time using the
widget should work.

Signed-off-by: Melia Meggs <melia@test.bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8832: Update the gist pref and hide the tax rate value if not needed
Jonathan Druart [Mon, 15 Oct 2012 13:49:30 +0000 (15:49 +0200)]
Bug 8832: Update the gist pref and hide the tax rate value if not needed

The gist system preference will be updated with the existing values and
with the supplier's gstrate values.
The "Tax rate" part becomes hidden if the syspref is not filled.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Passed-QA-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoBug 8989 - Availability facet needs an id
Owen Leonard [Wed, 31 Oct 2012 16:02:56 +0000 (12:02 -0400)]
Bug 8989 - Availability facet needs an id

This patch adds an id to the <li> which contains
the "limit to available" facet in the OPAC and
staff client.

To test, add custom CSS for the staff client and
OPAC to hide the id "availability_facet" and
confirm that the link is no longer visible.

Signed-off-by: Gaetan Boisson <gaetan.boisson@biblibre.com>
Passed-QA-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
12 years agoMerge branch 'bug_9005' into 3.12-master
Jared Camins-Esakov [Thu, 8 Nov 2012 17:47:04 +0000 (12:47 -0500)]
Merge branch 'bug_9005' into 3.12-master