Commit Graph

1144 Commits

Author SHA1 Message Date
Chris Cormack 32ecbaa18e Lots of language updates 2009-09-19 13:37:32 +12:00
Chris Cormack b08f4f36b5 Language updates 2009-09-17 19:31:56 +12:00
Chris Cormack 3c1650682f The rest of the staff interface updated 2009-09-16 23:21:58 +02:00
Chris Cormack 9f437eb160 Armenian staff updates 2009-09-16 23:20:27 +02:00
Chris Cormack 0889e80bfb Malaysian and Portuguese staff updates 2009-09-16 23:20:23 +02:00
Chris Cormack 716afd1152 Staff language updates 2009-09-16 23:20:14 +02:00
Chris Cormack 91c01d1dbe Valencian staff 2009-09-16 23:19:59 +02:00
Chris Cormack b6b7b440f4 Serbian staff update 2009-09-16 23:19:56 +02:00
Chris Cormack 284a202ff0 Czech staff updates 2009-09-16 23:19:56 +02:00
Chris Cormack 3b4c7508ad Last of the opac updates 2009-09-16 23:19:52 +02:00
Chris Cormack 34341f0317 More language updates 2009-09-16 23:19:52 +02:00
Chris Cormack 3bab456f98 More language updates 2009-09-16 23:19:51 +02:00
Chris Cormack fce9a80026 Hindi, Tetun, Thai, Tagalog, Turkish, Urdu and Ukranian opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack 257ccef830 Spanish, Persian and Galician opac updates 2009-09-16 23:19:51 +02:00
Chris Cormack bf532bcb7a French (France), French (Canada) and Hebrew opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 1b20eac419 Amharic, German and English NZ opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack fd127f82cb Danish and Bulgarian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack d6bd9f194e Bengali, Arabic and Azerbaijanian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack dc9dbc2f99 Indonesian opac updates 2009-09-16 23:19:50 +02:00
Chris Cormack 59ca3d5fed Greek Opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack 03c8f13980 Czech and Catalan opac updates 2009-09-16 23:19:49 +02:00
Chris Cormack d43db2f006 Finnish and Chinese updates 2009-09-16 23:19:49 +02:00
Chris Cormack c63bec4855 Starting work updating translations 2009-09-16 23:19:49 +02:00
Sébastien Hinderer 8702212d16 Get rid of a few warnings in the bulkmarcimport script: C4/Biblio.pm, hunks #1, #2: a warning occurring in NoZebra configurations. C4/Biblio.pm hunk #3: warning occurring in Unimarc MARC flavour. misc/migration_tools/bulkmarcimport.pl hunk #1: warning occurring when no default format is specified on command-line with -m switch.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:47 +02:00
Joe Atzberger a67ca33b45 Script to check for corruption of marcxml, and optionally to attempt fix.
When marcxml cannot be parsed into a MARC::Record object, the biblio is
undisplayable and it obviously breaks many features in Koha.  This script
can test to parse every marcxml, and alert on failures.  Optionally, the
marcxml can be replaced from the marc field.

See extensive perldoc for details.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:34 +02:00
Nahuel ANGELINETTI 78a2b2cb1e (bug #3573) use delimiter syspref generating overdues csv
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:32 +02:00
Colin Campbell f9f78672ea Avoid numeric comparisons with leading zeroes
Numbers in perl with leading zeros are interpreted in octal
Ensure that comparisons are done using string operators
or where appropriate use the MARC::Field method

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:28 +02:00
Frédéric Demians 5bdb9abf8b Remove utility script replaced by a test case
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:26 +02:00
J. David Bavousett cafd704a12 Created database-tidying cron script
This little script establishes a framework for database cleanup on some regular
schedule.  Initial implementation provides for brute truncation of the sessions
table, and selective-by-age cleanup of the zebraqueue.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:23 +02:00
Nahuel ANGELINETTI 6515ee9678 (bug #3393) take care of default rules in overdues
This fix the overdues notices script, that doesn't take care of default rules.
Now if there is no specific rules for a branchcode, the script use the default rule if it exists.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:19 +02:00
Frédéric Demians 0053486cfa Bug 3301 - Speed up rebuild_zebra script
With this patch, rebuild_zebra can re-index a whole Koha DB
quickly:

  rebuild_zebra -r -b -nosanitize

Biblio (authority) records are dump directly in a file
from marcxml field without beeing transformed into
MARC::Record object and corrected.

DOCUMENTATION:

rebuild_zebra.pl new paramater:

-nosanitize  export biblio/authority records directly from DB marcxml
             field without sanitizing records. It speed up
             dump process but could fail if DB contains badly
             encoded records. Works now only with -x and -b

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:14 +02:00
Brian Harrington 26b4f072e8 Bug 3313, bulkauthimport.pl skips MARC21 subdivision records.
This patch adds the MARC21 subdivsion record tags (18x) to the
block which recognizes and assigns authtypecodes to imported
authority records.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:08 +02:00
Daniel Sweeney 14f22b64cd Fixed a typo that kept branches out of the Advance Notice and Item Due notifications.
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:05 +02:00
Galen Charlton 18a7bd2ace holds policies fixes
* use item branch instead of patron's branch to
look up the applicable hold policies - this makes
requesting in the OPAC consistent with the intranet.
* when generating pick list using build_holds_queue.pl, only match items
to patrons if request is allowed.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-16 23:19:03 +02:00
Paul Poulain 474dca7cb7 (not new_acq related) smallfix to avoid a die in case of an invalid record
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:19:00 +02:00
Joe Atzberger 4786946693 Bug 3133 - correct typos
This corrects 3 typographical errors.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:48 +02:00
Joe Atzberger ddd1995cf4 Multi-bug fix - SetMarcUnicodeFlag for records coming from Koha
This has bearing on bugs 2905, 2665, 2514 and other "wide character" crashes
related to diacritics and Unicode.  This should help open the door for reliable
input of diacriticals via acquisitions.

MARC21_utf8_flag_fix.pl diagnoses and fixes existing problems with MARC data
affected by the bug.

Adding SetMarcUnicodeFlag to TransformKohaToMarc prevents the bug from corrupting
further data.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-16 23:18:47 +02:00
Galen Charlton 43b919a41e bug 2677: restore RandomizeHoldsQueueWeight and StaticHoldsQueueWeight
Restoring the functionality of these sysprefs as part of the
rework of build_holds_queue.pl:

* StaticHoldsQueueWeight is an ordered list of library codes.
  The order of the libraries in this list determines the order
  of libraries in which available items will be chosen to be
  targeted to holds.  Note that if this list does not include
  a library, items from that library will never be targeted to
  holds and staff will never be asked to retrieve items for
  title-level holds from those libraries.

* RandomizeHoldsQueueWeight is a Boolean parameter, indicating
  whether to randomize the libraries in the StaticHoldsQueueWeight
  list.

If neither RandomizeHoldsQueueWeight nor StaticHoldsQueueWeight is
set, then the libraries will be used to target items to holds in
alphabetical order by library code.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-04 13:29:55 +12:00
Joe Atzberger 4c54059844 Fines fixes: apparent problems with fines prevent processing.
CalcFine returned values that mismatched expectations in fines.pl.

fines.pl refactored: added debugging, prevent needless recreation of
Calendar objects by storing them in hash by branch.
Still outstanding problems with fines, including the output of a field
that has no other references in Koha (so is always undef) and the
incorrect description of FinesMode.

Calendar exported "new" erroneously.  I also cleaned up the queries to
avoid needlessly compiling additional statement handles.

Please test and consider application to 3.0 maintenance.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-09-04 11:12:41 +12:00
Galen Charlton a2c4c5353b bug 2527: avoid targeting of items on hold shelf
SQL fix to properly ensure that if an item is on
the hold shelf, it will not be used for request
targeting, which applies only to items that are
not already on the hold shelf.

Prior to this fix, when checking out an item on the
hold shelf that fills patron A's hold request, it
was possible for that request to not be marked as
filled if another patron had an item-level request
on the item; the second patron's request was
incorrectly targeted by that item.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-04 09:38:21 +12:00
Galen Charlton 5eafcf52de bug 2522 [3/3]: populate hold_fill_targets
This batch job now automatically populates the
holds request targeting table hold_fill_targets.

This patch is essentially a revamp of the job,
and includes fixes for the following bugs:

2281 (holds queue report including unavailable items)
2331 (holds queue report not working with item-level
      holds)
2332 (holds queue script should attempt to fill
      many requests as possible).

Several functions in this batch job are candidates
for being moved to C4::Reserves:

GetBibsWithPendingHoldRequests()
GetPendingHoldRequestsForBib()
GetItemsAvailableToFillHoldRequestsForBib()
MapItemsToHoldRequests()

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-09-04 09:35:24 +12:00
Chris Cormack 2505e0f415 French opac updates 2009-09-01 10:22:49 +12:00
Chris Cormack 825d6c2a04 Italian updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-29 21:38:41 +12:00
Chris Cormack fcdefd6bcf Italian Translation updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-26 22:24:52 +12:00
Chris Cormack 8acf94bf5b Malay po files
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-24 20:58:51 +12:00
Chris Cormack 7a4cf8f0d1 Dutch language updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-23 22:45:54 +12:00
Chris Cormack 5bfe971add Italian and Turkish updates
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-20 22:35:47 +12:00
Chris Cormack ad68fe2ba4 Turkish updates for 3.0.x
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-08-16 06:58:02 +12:00
Chris Cormack 6c1bc4f5c4 Turkish and German updates 2009-08-15 18:09:03 +12:00
Chris Cormack dd10f84c98 Fixing a bug in Turkish 2009-08-09 21:42:26 +12:00