Commit Graph

2687 Commits

Author SHA1 Message Date
Henri-Damien LAURENT 758bfba1ee Adding XSLTreultsFilename and XSLTDetailFilename
Thos two system preferences enables the librarian to choose an xslt different from the one provided in Koha
2010-05-15 01:31:54 +02:00
Henri-Damien LAURENT 0da6477377 Bug 4326 ; returndate were fixed on the day before
dropbox mode was set even though it was not dropbox.
This patch is an adaptation of Ian Walls
http://www.mail-archive.com/koha-patches@lists.koha.org/msg04736.html
2010-05-14 23:20:41 +02:00
Nahuel ANGELINETTI 95bb8a47a8 (bug #4490) do not warn each notice if xslt is on 2010-05-14 09:48:00 +02:00
Nahuel ANGELINETTI ad302c3984 (bug #3737) fix title search in order history 2010-05-14 09:47:58 +02:00
Henri-Damien LAURENT 76f405c9cf Minor Fix : IndependentBranchPatron misspelling
C4/Members.pm
Line 179, preference used would not be correctly spelled
2010-05-14 09:27:45 +02:00
Henri-Damien LAURENT c0af4d18c2 BuildUnimarcHierarchies : Fixing infinite loop
When referenced authority in 5XX$3 would be the same as the current authid, the script would get into infinite loop
2010-05-14 09:27:45 +02:00
Nahuel ANGELINETTI 4dc05803d5 (bug #4358) fix sql query in C4::Members::GetAllIssues
This fix the use of oldissues instead of old_issues table.
2010-05-14 09:27:45 +02:00
Henri-Damien LAURENT 03fdc7defe Better conformance for UNIMARC Authorities Encoding
Adding support for UNIMARC Authorities UNIMARC encoding
place of the encoding marker is different
2010-05-14 09:27:44 +02:00
Paul Poulain 28a250ff21 Fixing Hierarchies : taking any heading subfield 2010-05-14 09:27:44 +02:00
Paul Poulain d32a8c21b4 (bug #3950) only show on shelf items
This fix pending reserves to show only on shelf items.
2010-05-14 09:27:44 +02:00
Henri-Damien LAURENT 0e3b004add Problem with error message
output_html_with_http_headers now takes status too
2010-05-14 09:27:44 +02:00
Paul Poulain 3e8a8a57d1 warning on C4/Biblio.pm 2010-05-14 09:27:43 +02:00
Nahuel ANGELINETTI c84b9bb12d [followup](bug #4055) fix backport error
There is an error during backport, all the 3.0.x API is not the same as 3.2.
2010-03-18 06:11:44 +01:00
Nahuel ANGELINETTI e4172a4b84 (bug #4319) allow reserves on waiting items
This add a function to check the reserve status, and add a check in IsAvailableForItemLevelRequest() to allow request on items that are waiting
2010-03-17 17:07:49 +01:00
Matthias Meusburger fe3621812e MT2889 : Fix statistics' itemtype when item-level_itypes is ON 2010-03-16 12:37:59 +01:00
Henri-Damien LAURENT cf4144bca8 Fixing hierarchy processing 2010-03-16 12:37:59 +01:00
Matthias Meusburger 29e5fa7ca2 MT 2116, Follow-up : Fix subfield separator 2010-03-16 12:37:59 +01:00
Matthias Meusburger 3cfbcb63ce MT 3044, Follow-up : Fix CSV Export when there are blank chars in tag names
Regexp is now global
2010-03-16 12:37:59 +01:00
Matthias Meusburger f1f2d1ed8e MT 3044 : Fix CSV Export when there are blank chars in tag names 2010-03-16 12:37:59 +01:00
Nahuel ANGELINETTI 1afd9a9e41 (bug #4207) receive shipment problem
this change the way to get pending orders during shipment receive.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:30 +01:00
Nahuel ANGELINETTI 2bdff1822a (bug #4051) add due date in overdue.tmpl
this add in the tmpl, the due date of each document.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:29 +01:00
Nahuel ANGELINETTI 94e3f7f7da (bug #4051) fix mistake in overdues
a big mistake is in sql query, that get non-overdue items instead of overdues.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:29 +01:00
Nahuel ANGELINETTI 603ab05edf [followup](bug #4051) rewrite some stuffs in overdues
This fix overdues to reformat the way to export in csv, create a function in C4::Overdues, and add a date filter.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:29 +01:00
Nahuel ANGELINETTI 348ddcea4e (bug #4290) searching for author in repository
this fix the breedingsearch to search for authors, and not only in titles.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:28 +01:00
Nahuel ANGELINETTI 5cbb6dfeb1 [3.0.x] (bug #4263) fix the edition of items with repeatable subfields
The subfield management in item level is broken, fields are concatenated in one field, and if the librarian edit it, the values are not selected.
This big patch fix three things:
 1) saving fields that are stocked in SQL(using koha2marc mapping) are now well cut and separated in _REAL_ subfields
 2) loading records with repeatable subfields are now well returned
 3) Editing items with repeatable fields works well

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-03-08 23:07:28 +01:00
Henri-Damien LAURENT 32aac9e4fb Revert "(bug #3778) GetBranchesLoop and searchMyLibraryFirst"
This reverts commit 36ae08af32.
2010-03-08 23:07:28 +01:00
Matthias Meusburger 59f8b71a62 MT 2116: Addons to the CSV export
Fix encoding selection
2010-03-08 23:07:27 +01:00
Henri-Damien LAURENT 2acb35ba06 Bug fix: Authentication with cardnumber allows superlibrarian access
un privileged users couls access intranet with superlibrarian rights
when login in with cardnumber/password
2010-02-16 11:31:17 +01:00
Matthias Meusburger 899156b3ec MT2636 : Send a different notification whether an hold has been made from OPAC or from the Intranet 2010-02-10 14:01:30 +01:00
Henri-Damien LAURENT 51fcfe4a1e C4/XSLT Removing unconditionnal comment 2010-02-10 14:01:30 +01:00
Paul Poulain 7b27b9ecb2 MT2116, Follow-up: CSV Export, fix backporting bugs 2010-02-10 14:01:30 +01:00
Nahuel ANGELINETTI 5af80ab9ab [3.0.x](bug #4084) fix offline circ
this add the function C4::Circulation::GetOpenIssue and delete \r chars when processing koc files.
2010-02-10 14:01:30 +01:00
Henri-Damien LAURENT a9015abe77 Adding RIS and bibtex export
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2010-02-10 14:01:30 +01:00
Matthias Meusburger 76655b5b94 MT2116: Addons to the CSV export
Adds the ability to customize CSV exports through the use of a YAML file.

The following customizations are available :
  - Preprocessing
  - Postprocessing
  - Field-by-field processing

The YAML field should be stored in the tools/csv-profiles/ directory and
named after the id of the CSV profile you want to customize.
An example file is provided in that directory.
2010-02-10 14:01:29 +01:00
Matthias Meusburger 523735ef6b MT2116 : Addons to the CSV Export
Add encoding selection
Add authorised values handling
2010-02-10 14:01:29 +01:00
Matthias Meusburger 0865bd7727 MT2116: Addons to the CSV export
Add user-defined headers
Add CSV, field and subfield separator selection
2010-02-10 14:01:29 +01:00
Henri-Damien LAURENT e431b4b077 MT 1587 : CSV export for cart and shelves, with the ability to define different export profiles
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2010-02-10 14:01:28 +01:00
Henri-Damien LAURENT d5f5d844c5 (bug #4020) XSLT unimarc display
When using XSLT Display, and UNIMARC,
since marcFlavour is not used in encoding data, when data is true utf8, as_xml
fails on some subfields.

Moreover, because transformMARCXMLForXSLT edits some values in the marc record
and the PERL UTF8 is not handled by MARC::File::USMARC, it endsup in double
encoding the data.
Sending a patch to fix both issues.

This patch adds
    - two functions in  C4/Charset.pm
        NormalizeString (uses Unicode::Normalize)
        SetUTF8Flag (This function in my opinion belongs to MARC::Record, or at least MARC::File::USMARC)
    - edits C4::XSLT in order to cope with the correct marcflavour
    - edits C4::Search searchResults to use setUTF8Flag

Conflicts solved:

	C4/Charset.pm
	C4/Search.pm
	C4/XSLT.pm
2010-02-10 14:01:28 +01:00
Nahuel ANGELINETTI fd3666e77d (bug #4062) add item index in zebra conf
This add the "item" index.
2010-02-10 14:01:28 +01:00
Nahuel ANGELINETTI 96e95bce3c [followup](bug #3348) fix spent values and spent resume
This fix the way to get spent datas, to user aqbudgetid instead of bookfund.
2010-01-27 14:14:49 +01:00
Nahuel ANGELINETTI 8f0f18d337 [3.0.x] (bug #4055) backport canbook/itembereserved
This backport the functions from 3.2/3.4 to the 3.0 API, because we need to factorize the code.
2010-01-27 14:14:48 +01:00
Nahuel ANGELINETTI 04d92ee17e (bug #4050) update datelastseen even if document isn't on loan
this change the place of moddatelastseen to be used each time a document is checked in, even if the document is not on loan.
2010-01-19 22:08:18 +01:00
Nahuel ANGELINETTI 0c1d86c939 (bug #4043) fix checkoverdues sqlquery
this fix the sqlquery to use "curdate()" instead of "now()", because now return a "datetime", and in date_due we have only a "date", so now() > curdate() everytime, it cause some problems in messages.
2010-01-19 22:08:17 +01:00
Nahuel ANGELINETTI 718d8ba2aa (bug #4044) don't trap fatal error if there is no start date
this fix GetExpirationDate that trap a fatal error if the subscription have not any start date.
2010-01-19 22:08:17 +01:00
Matthias Meusburger 7ffec5b437 MT2631 : adds sysprefs for MARC or ISBD display in OPAC 2010-01-19 22:08:17 +01:00
Paul Poulain 8758e8d0e8 bug fixing : Patron Search : IndependentBranches
When Independant Branches is set, some library expect not to see the patrons of other library
Adding a new systempreference : IndependentBranchPatron in order to be able to restrict Patron search to the library of the current user and not change the current behaviour of IndependantBranches patron search
2010-01-11 13:33:13 +01:00
Henri-Damien LAURENT 3057a7afb9 (bug #3042) Changing XSLT sysprefs to take filename
This change system preferences for XSLT management
bumps kohaversion to 3.0.6.03
If you are using Koha in a non devel mode AND use XSLT, then you HAVE TO adapt the system preference to point to your htdocs

WARNINGS :
    - tested with UNIMARC XSL
    - donot test the presence of the file, if file absent, then BOOM
    - XSL CANNOT be different for intranet and OPAC for result lists.
2010-01-11 13:33:13 +01:00
Henri-Damien LAURENT 6f9cb8912f (bug #4021) recent acquisitions Error500 on undefined biblio
This patch adds some more checks before creating the summary
2010-01-11 13:33:12 +01:00
Nahuel ANGELINETTI 25d9198e08 [followup](bug #3667) don't delete if member is guarantor
this fix cleanborrowers to don't delete guanrantors.
2010-01-11 13:33:12 +01:00
Nahuel ANGELINETTI f4a7c72d7f [followup](bug #3667) fix dateexpiry filtering
this fix the dateexpiry used to filter users, now we use date specified.
2010-01-11 13:33:12 +01:00