Commit graph

2769 commits

Author SHA1 Message Date
Henri-Damien LAURENT
19ac7c1569 Bug Fix : 3343 MT1313 Authorities MARC summary
When more than one heading, fields are mixed and not well ordered
2009-11-11 20:59:32 +01:00
Henri-Damien LAURENT
72d91ac361 Adding a warning On subscription deletion for item
If we really wanted to delete all items linked to a subscription when we delete a subscription
we should change the database structure as such :
ALTER TABLE serialitems ADD FOREIGN KEY ( itemnumber ) REFERENCES items (itemnumber) ON DELETE CASCADE ;
ALTER TABLE serial CHANGE subscriptionid subscriptionid INT( 11 ) NOT NULL
ALTER TABLE serial ADD INDEX subscription ( subscriptionid )
ALTER TABLE serial ADD FOREIGN KEY ( subscriptionid ) REFERENCES subscription (subscriptionid) ON DELETE CASCADE ;
2009-11-11 15:19:24 +01:00
Henri-Damien LAURENT
fc1a5ed318 MT1883 : Serials enddate was not cleanly used
GetExpirationDate should now be used only to get the NEXT expirationdate based on startdate
Perltidying C4/Serials.pm
2009-11-11 14:00:11 +01:00
Paul Poulain
761211ca0c reindenting & removing comments 2009-11-11 11:17:47 +01:00
Paul Poulain
74fed183f9 oups, sorry, fixing mistake in previous patch
(reverting a not related and probably bogus change)
2009-11-10 22:23:50 +01:00
Paul Poulain
6c086454ff revamping a little opac-detail for subscription (adding more history information) 2009-11-10 22:23:50 +01:00
Jane Wagner
0157b46e13 Bug 3702 add branch description as primary sort for items in staff mode
The default sort order for items attached to a title in staff mode is
items.dateaccessioned desc.  This means that a particular library's holdings
will be scattered through the list -- a special problem when it comes to serial
issues.  I've done a change to Items.pm that makes the sort order branch
description followed by dateaccessioned.  Thus, a library's holdings will be
grouped together in the display.
2009-11-10 22:23:50 +01:00
Paul Poulain
ed047fead8 adding XSLT for intranet (UNIMARC only, MARC21 will be done by kf)
- the XSLTParse4Display sub now has a new parameter : the interface (intranet or opac)
- the XSLTdisplay sysprefs is common to staff & opac (Auth.pm)
- added UNIMARC xslt in intranet templates (modified to deal with staff/opac differences)
2009-11-10 22:23:50 +01:00
Paul Poulain
35fc57ae39 subs declared twice 2009-11-10 22:23:49 +01:00
Paul Poulain
638dfd30e5 fixing overdue checking (today is not late)
NOW() returns minuts and seconds. date_due is just YYYY-MM-DD
Thus date_due < now() is wrong if date_due is today, and the patron is considered as late.
With curdate(), the patron is late only the day after the overdue limit
2009-11-10 22:23:48 +01:00
Henri-Damien LAURENT
a4ac58cec8 enhancement C4::Members.pm Improving POD
Adding a function to output field as xml
2009-11-06 12:33:15 +01:00
Henri-Damien LAURENT
486c0b075e SQLHelper Enhancement Adding contain as searchtype 2009-11-06 12:33:15 +01:00
Henri-Damien LAURENT
50e8e5a33f enh Serials-collection Checking claimed late and expected issues
Could be better handled with jquery
2009-11-06 12:33:15 +01:00
Jean-André Santoni
eff46d395e Adds billing address support in the basketgroup.
Also fixes a bug in ModBasketgroup, and renames the PDF uploaded to the client.
2009-11-04 13:17:09 +01:00
Jean-André Santoni
d61161a3d5 [3.2.x](bug #3624) Per-basketgroup delivery place
Librarian are now able to select a different delivery place for each basketgroup. They can choose one from the branch list or manualy using a textarea.
Database schema and PDF generation have been modified to reflect these changes.
2009-11-02 17:02:02 +01:00
Henri-Damien LAURENT
ee7d0af37b POD improvement 2009-11-02 16:51:20 +01:00
Paul Poulain
4de7b92904 some reindenting & XHTML compliance 2009-10-30 13:49:39 +01:00
Henri-Damien LAURENT
1ec6e3df73 Change in API : ordnum becomes ordernumber 2009-10-30 00:30:47 +01:00
Paul Poulain
dc85da1830 suggestions improvements and fixes
- reindenting Suggestions.pm
- removing useless code in acqui-home.pl & fixing # of pending suggestion display
- add suggestion to order : displaying for selection suggestions accepted by the librarian (and reindenting)
- XHTMLing acqui-home (& removed useless parts)


NOTE ABOUT XHTML (could be useful) : <tfoot> must be BEFORE <tbody> in a <table>, even if, of course, it is displayed after.
2009-10-29 17:56:44 +01:00
Paul Poulain
2d4db26337 fixing SQL builded if there is no where_strings 2009-10-28 18:28:34 +01:00
Henri-Damien LAURENT
c71acb2a1f C4/Biblio.pm Perltidy 2009-10-27 23:50:05 +01:00
Henri-Damien LAURENT
02415cb0a2 Followup bfffa5 TransformHTMLToXML bug fix
_default_ind_to_space had problems
2009-10-26 18:24:30 +01:00
Henri-Damien LAURENT
e3a8f1e20d MT 2168 : Logical AND between multiple words strings
C4::SQLHelper was doing an implicit OR of multiple words strings
It is now fixed and does an AND
2009-10-26 15:34:33 +01:00
Henri-Damien LAURENT
67c69a3b66 Adding logging DBI errors if in Debug Mode 2009-10-26 15:34:33 +01:00
Nahuel ANGELINETTI
c0ee76d486 (bug #3726) fix ISBD url translation 2009-10-26 15:34:23 +01:00
Henri-Damien LAURENT
2d15dcabc8 Performance improvement authorities-list.pl
CountUsage in Authorities has a performance problem.
We now rely on SimpleSarch for that purpose and it should be better
2009-10-26 15:33:21 +01:00
Matthias Meusburger
790b7cc1b9 MT 2037 : Update ISBD 2009-10-22 11:45:38 +02:00
Matthias Meusburger
079b5e0efd MT 2069 : MoveItemFromBiblio now checks for orders 2009-10-21 16:14:33 +02:00
Henri-Damien LAURENT
87b792b2b6 3.0.x: ce353e7 bug #3674 allow users creation with disabled password 2009-10-20 15:09:51 +02:00
root
e964e49c89 Bug Fixing MT 2095 : Add_excepti.al Search broken on QueryStemming 2009-10-20 12:22:15 +02:00
Henri-Damien LAURENT
2d4432569e Bug Fixing : Search Broken with stemming
Stemming can't use exceptions
Removing exceptions management
2009-10-16 23:59:24 +02:00
Henri-Damien LAURENT
581bd9c563 removing unconditional warning 2009-10-14 18:19:09 +02:00
Henri-Damien LAURENT
687943ff38 Followup 300bd572d3
Adding Tablename to SQLHelper
2009-10-14 18:19:09 +02:00
Henri-Damien LAURENT
e16a034e9c Remove Stopwords bug fixing
in french, les is a stopword

Modèles would match because of the combining and \P{IsAlnum} would not detect that.
2009-10-14 18:19:09 +02:00
Henri-Damien LAURENT
7177a6528a Bug Fixing : C4::Charset source_encoding always set to iso-8859-1 2009-10-14 18:19:09 +02:00
Chris Nighswonger
a46714b1d7 Bug 3706 Label templates/layouts do not save properly
Two issues here:

1. No radio box was selected by default in the format section of the layout editor. This actually needs some additional attention to allow the user
to establish a default method of entering the format string. As noted in comments in the code, this would probably be best implimented by adding yet
another syspref. However, I don't have time atm.

2. On saving a new template, if no profile was assigned to the new template, the script threw an error and died.

Both issues are addressed in this patch.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-10-14 18:19:08 +02:00
Chris Nighswonger
963586b45b Bug 3649 Code39 Mod10 and Mod43 barcodes are produced with Mod9 checksums
This may not present a problem inside of Koha, but would if scanned with
software expecting mod10 or mod43.

Current code uses the 'visa' method of the Algorithm::CheckDigits module which
produces mod9 checksums.

The patch changes to using 'code_39' for mod43 and 'siret' for mod10.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-10-14 18:19:08 +02:00
Matthias Meusburger
38b3a375b4 MT 1110, Follow-up : Balance cart and lists : cart is now in the intranet 2009-10-14 15:27:40 +02:00
Henri-Damien LAURENT
bfffa5361b TransformHTMLToXML bug default_ind_to_space
default_ind_to_space made the assumption that indicator string by default was a string containing 2 characters.
This was not true, causing an Internal server error.
This patch Fixes that.
2009-10-07 10:58:25 +02:00
Nahuel ANGELINETTI
d09145090a (bug #3281) change the way to parse item's summary
This patch is a "rebased" one for 3.0.x.
This change how to calculate the item's summary, and fix the issue when you have repeated fields.
Now every line is repeated, still it have values in repeated fields(see bug report).
2009-10-07 10:05:17 +02:00
Henri-Damien LAURENT
3ba54d73c9 using SQLHelper in C4/Acquisition
Changing addorder to send orderinfo from input decoding
And using SQLHelper to filter information
2009-10-06 13:34:56 +02:00
Henri-Damien LAURENT
234826429e Fixing : Budgetperiods was misused in GetBudgets 2009-10-05 07:56:57 +02:00
Henri-Damien LAURENT
bf91bce7d7 Code Improvement : C4/Matcher.pm
substr dans act when passed only subfield offset
2009-10-05 07:48:52 +02:00
Henri-Damien LAURENT
300bd572d3 SQLHelper Adding tablename to filters output 2009-10-05 07:47:56 +02:00
Matthias Meusburger
5b754c1927 Function GetRecentShelves modified so it can tell "koha" user and no user apart 2009-10-02 16:06:13 +02:00
Henri-Damien LAURENT
e1ccd07e71 Adding callnumber to serials standard number search 2009-10-01 10:50:40 +02:00
Henri-Damien LAURENT
fd75507a55 (bug #3370) add keyword to MARC field mapping
This add the support of keyword => MARC field mapping, ton abstract the relation between human readable fields like subtitle, title, authors, location, ... and MARC fields in each framework.
This will allow to koha developper to be more flexible with each framework and don't care about the MARC flavour, just require some "keywords" to the user.

Conflicts solved :
	C4/Biblio.pm
	installer/data/mysql/kohastructure.sql
	installer/data/mysql/updatedatabase30.pl
	kohaversion.pl

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-30 11:30:42 +02:00
Matthias Meusburger
d4f06e5023 MT 1094, Following : added a test to check if we really found the item 2009-09-30 11:30:41 +02:00
Matthias Meusburger
56750eebba MT 1975 : Fixed broken MoveItemFromBiblio in Items.pm 2009-09-30 11:30:41 +02:00
Henri-Damien LAURENT
d948e8ba42 Merge fixes and removing warnings 2009-09-30 11:30:40 +02:00