Commit Graph

2664 Commits

Author SHA1 Message Date
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
Nahuel ANGELINETTI 595c05628d [followup](bug #3667) cleaning borrowers fix
This fix GetBorrowersWhoHaveNotBorrowedSince to select only borrowers that have no issues and have no old_issues more recent than a specified date.
2010-01-11 13:33:12 +01:00
Nahuel ANGELINETTI 3dd5fccccc (bug #4004) disallow access for non-logged in users in opac
This doesn't define borrowernumber = 0 if a borrower is NOT logged.
We know borrowernumber 0 is mysqluser... So in virtualshelves, a non logged user have all permissions.
2009-12-24 16:52:21 +01:00
Nahuel ANGELINETTI f8b6e28ad5 (bug #3950) continue to rebuild pending reserves
This use yui to build interface, pagination, table, and filters.
2009-12-24 16:52:20 +01:00
Nahuel ANGELINETTI 2480e02436 (bug #3950) rebuild pendingreserves and fix reserves and transfert case
This patch rebuild pending reserves, export code to API and simplify SQL query(that was _very_ ugly!).
It fixes too circulation case, when a document is transfered because of user hold, it's still shown in pending reserves, now it don't.
2009-12-24 16:52:20 +01:00
Nahuel ANGELINETTI 23dc1bda51 (bug 3536) fix homeorholdingbranch on return
this patch create a new systempreference "homeorholdingbranch"-like used only for returns.
2009-12-24 16:52:20 +01:00
Marc Chantreux ea4ac0543d _koha_add_biblioitem rewrite 2009-12-24 16:52:20 +01:00
Marc Chantreux e46f0eaeb8 remove useless lines 2009-12-24 16:52:20 +01:00
Marc Chantreux 4199029511 remove warning 2009-12-24 16:52:20 +01:00
Marc Chantreux 0c42f3ca19 remove a warning 2009-12-24 16:52:20 +01:00
Marc Chantreux 0a21cd9b81 readable format selection 2009-12-24 16:52:19 +01:00
Marc Chantreux d50f6a6d7d correctly add authid 2009-12-24 16:52:19 +01:00
Nahuel ANGELINETTI 6d2739f16b [replaceprevious](bug #3924) fix useDaysMode use
This fix system preference choices, and delete some useless code.
2009-12-17 09:14:56 +01:00
Marc Chantreux d64830b771 remove NSB and NSE from output 2009-12-17 09:14:55 +01:00
Marc Chantreux adf304b1b9 remove a problematic charset conversion in ISO-5426 2009-12-17 09:14:55 +01:00
Matthias Meusburger 309c1d23b7 MT 2445 : SearchResults won't die if a record is incorrect 2009-12-17 09:14:55 +01:00
Chris Cormack 5c22e85c7f Fixing split_ddcn now handles things like MP3-CD
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
2009-12-16 21:55:34 +13:00
Henri-Damien LAURENT 326ae2cd9d (Bug 3863) AmazonReviews not showing up
Adding OpacAmazonReviews and OpacAmazonEnabled
Grouping Amazon related system preferences in C4::Auth.pm
2009-12-13 23:37:27 +01:00
Henri-Damien LAURENT 22d93d10a8 Revert "MT 2298 : Fix hidelostitems"
This reverts commit 481ccf6872.
2009-12-07 11:20:56 +01:00
Henri-Damien LAURENT 2279380b54 Revert "2298 2299 : Search.pm and opac-search.pl"
This reverts commit e1b6555032.
2009-12-07 11:20:56 +01:00
Henri-Damien LAURENT da2eaf0a62 Revert "(MT #2298) Rewrite "only available items""
This reverts commit dfa44a90d4.
2009-12-07 11:20:56 +01:00
Henri-Damien LAURENT d433bcf6d1 Revert "[followup](MT #2298) fix bad conditions"
This reverts commit 0f7d9aa432.
2009-12-07 11:20:55 +01:00
Henri-Damien LAURENT 33f5580546 Dates : improvements 2009-12-07 11:20:55 +01:00
Nahuel ANGELINETTI 7f7333aebd [followup](MT #2298) fix bad conditions
This patch fix bad condition that hide in all cases records without items.
2009-12-03 22:00:09 +01:00