Commit Graph

9442 Commits

Author SHA1 Message Date
Chris Cormack 79efeef0ea More broken intranet .po files 2009-03-08 08:00:09 +13:00
Chris Cormack 066a172b30 Fixing overwritten intranet po file (Greek) 2009-03-08 07:49:47 +13:00
Chris Cormack 1e71f0e66d Fixed German intranet po files (had been overwritten by the opac by mistake) 2009-03-08 07:49:47 +13:00
Henri-Damien LAURENT 74cc235347 Revert "Fix the guided report export, bad check of errors(bug #2672)"
This reverts commit ae4b02cdc4.
2009-03-06 17:05:25 +01:00
Henri-Damien LAURENT 173c590460 Fix :Fatal Errors occurs when date is not a regular date
When the start date or the "current date" is not a regular date
the transformation and checkdate fails because there is no
Year/Month/Date
This patch makes it fail more 'silenty' for the users and raises an
error that could be coped with.
2009-03-06 11:59:33 +01:00
Nahuel ANGELINETTI 4a27a63a25 (bug #1758) change the position of GetCOinSBiblio()
The last position getting the COinS of a record wasn't possible in all cases.
This patch just get the COinS earlier in the loop.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 11:35:16 +01:00
Nahuel Angelinetti a85644a885 Delete all calls to thesaurus_popup.pl, and no more used plugins.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 11:09:42 +01:00
Nahuel Angelinetti 3d1a6e20d7 Move checks of additem.pl to the API
This patch create a new function DelItemCheck, that add some checks before deleting an item and return 1 if it worked fine, else an error
code (the same as in additem.pl).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 11:09:41 +01:00
Nahuel Angelinetti 4ebba44a34 fix the previous patch to add a syspref that permit to choose the renewal period(day or date_due).
This patch just check the syspref and use it as base date of renew.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 11:09:26 +01:00
Nahuel Angelinetti d2d103195c change the date calc, to set the date_due to date_due+loanlength.
At the moment when you renew a document the date_due calculated is now+loanlength, but it's a bad thing, It should be
date_due+loanlength.
This patch do change Circulation.pm to use the date_due as renew base and add the loanlength to get the new date_due after
renewal.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:53:00 +01:00
Nahuel Angelinetti 53866c5150 bad image location
This patch make Page.pm to use the getitemtypeinfo function to generate the imageurl, and check (in the template) if an
image is set.
I backported a function from koha3.2, and the use of URI::Split.
Before this patch, always the "Alt" information was shown, because the url wasn't right.

Please enter the commit message for your changes.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:53:00 +01:00
Nahuel Angelinetti 12b2e9b4f2 Bad account expiration message when a user isn't, and no message when it is
When you try to hold a document for a non expired user, a warning tell you the account is expired, and when the account is expired there is no
message.
This patch do the inverse.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:52:59 +01:00
Nahuel Angelinetti 5a1e844d10 Add a date field in news edition, and permit to set the "timestamp" field, that is the publication date and modify the GetNewsToDisplay to return only news that timestamp is < to current date that permit to publish news later without any action.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:52:59 +01:00
Nahuel ANGELINETTI f9702aa7c3 (bug #2948) change the aqbudgetid column type
This patch make a database upgrade, to have an int(11) as a primary unique id, instead of a tinyint(4)(one byte).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:52:40 +01:00
Nahuel ANGELINETTI 7a51699f95 (bug #2938)[follow previous] Add new report in menus
Just adding the new report in miscellaneous menus

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:33 +01:00
Nahuel ANGELINETTI 38b207a6db (bug #2933) change popup names containing space chars
This patch change all call to open.window that have a window identifier which contains space chars.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:33 +01:00
Nahuel ANGELINETTI 0060634c36 (bug #2929) permit to define "fine days" in issuing rules
This patch add a function un C4::Members that check if a user is allowed to loan a document.
Add a control in issuing.
Add a column in issuingrules table.
And add the needed control in admin to set the fine days rules.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:32 +01:00
Nahuel ANGELINETTI 44d6b2e9c6 (bug #2915) C4::Biblio::DelBiblio delete the serials
This patch add the serials deletion in DelBiblio function, so now when a record is deleted all attached serials will be too.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:32 +01:00
Nahuel ANGELINETTI 239700d079 (bug #2856) Activate the duplicate patrons detection and check birthdate only if one is set
This patch activate the check of unique member, it was checked but not shown, and the member was added even if a duplicate was
detected.
It improve the duplicate detection, to check the birthdate only if it was specified in the form.
And fix an url of "Yes" link(if the borrower added IS the duplicate detected).

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:32 +01:00
Nahuel Angelinetti 360068f1fd Delete a hidden tag that is not needed and create an error
The bug exists because for each table line, an hidden field was set, with subscriptionid, but it's not used by the script and
create a bug "Request-URI Too Large".

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:31 +01:00
Nahuel Angelinetti ae4b02cdc4 Fix the guided report export, bad check of errors(bug #2672)
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:31 +01:00
Galen Charlton b46c65857e bug 2540: allow download of report
$error return C4::Reports::execute_query is
always defined.

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:31 +01:00
Nahuel Angelinetti 10d1c5f842 Fix the checked box "manual history" and fix the "null" value of serial next issue publication date
first part of this patch is the manual history must be checked if in database its checked.
Then, when you do not enter a value "Next issue publication date", a null value was set in the database, now, if empty, the  "first issue date" is set as "next issue".
And finally, We check that "manual history" is checked to show the "Subscription history" part. Actually its never shown.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:31 +01:00
Nahuel Angelinetti 21fc2c6e24 Fix the CSV export, provide it in UTF-8
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:30 +01:00
Nahuel Angelinetti 5b54716e19 add the possibility to replace, in sysprefs, the code by it's valuecode with {{code}} ex : {{995c}}
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:30 +01:00
Nahuel Angelinetti d858112b99 trying to fix the problem with authorities search
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-06 10:47:30 +01:00
Nahuel Angelinetti 65ebb57f1c Fix the language detection, to use the browser language if opac is translated, so show the news for the browser's language.
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-03-05 18:36:13 +01:00
Nahuel ANGELINETTI 59bdcf6b28 (bug #2881) preselect default sorting
This patch just set a variable with the name of default sorting, and value 1
2009-03-05 15:10:22 +01:00
Nahuel ANGELINETTI 673bd0d832 (bug #2996) update unimarc 105 plugin to the actual norm
This patch add some codes which have been added to the norm:
* Religious Text
* dissertation or thesis
* booklet
2009-03-05 12:23:46 +01:00
Daniel Sweeney 0f659c8886 Added a require C4::Heading to resolve a circular dependency. 2009-03-05 10:47:21 +01:00
Nahuel ANGELINETTI e3d0341282 (bug #2961) be xhtml valid
This little patch just fix the previous patch to be xhtml valid(onclick instead of onClick)
2009-03-05 10:46:35 +01:00
Galen Charlton 5ef1e472cf bug 2986: tweak authtype index for MARC21 (GRS-1)
Following a similar patch for UNIMARC, tweak the
authtype index for MARC21 authorities if the GRS-1
Zebra filter is in use.

Note that it is recommended that *DOM* mode indexing
be used for MARC21 authorities; if you're using DOM mode,
it is not necessary to rebuild the index.  However, if
you're using the GRS-1 definitions (record.abs), it will
be necessary to reindex the authority records using

misc/migration_tools/rebuild_zebra.pl -a -r
2009-03-05 10:45:06 +01:00
Nahuel ANGELINETTI 105a8ec64e (bug #3004) fix the opac authority search
This patch modify the way to transfer the different args, don't use the form arrays.
And use a GET form instead of POST(we are getting datas, sending nothing).
2009-03-05 10:45:06 +01:00
Nahuel ANGELINETTI 1241ffc5fd (bug #2998) fix search sorting containing "="
just modify the way to parse the actual args
2009-03-04 12:48:09 +01:00
Nahuel ANGELINETTI 1ddd4ad783 Update autobarcode syspref for french framework
This patch just update the syspref to use incremental|annual|hbyymmincr|OFF instead of "YesNo".
2009-03-04 12:48:02 +01:00
Nahuel ANGELINETTI 75e6ac4a03 (bug #2996) fix and improve 100 and 105 unimarc plugins
This plugins need some stuffs for the users to help them to choose, like show the codes, add some codes, etc...
2009-03-04 12:48:02 +01:00
Nahuel ANGELINETTI 7a50c0fb2d (bug #2995) Set a default encoding for e-mails
Just set a default encoding as utf8 if none is provided.
2009-03-04 12:48:02 +01:00
Mason James d6458e188c fixes missing 'STDERR', causing 500 error below..
malformed header from script. Bad header=## checkpw - checking LDAP: mainpage.pl,
2009-03-04 12:47:53 +01:00
Galen Charlton 531bb0214a bug 2992: don't display MARC codes in search results
Two fields (type of continuing resource and literary
form for sound recordings) in the MARC21 XSLT search
results stylesheet display the code from the 008
position (/21 and /31, respectively) in addition to a
descriptive label.  As a MARC code is meaningless to
patrons, this patch removes the code.
2009-03-04 12:47:53 +01:00
Galen Charlton 906e19b086 minor corrections to check-url.pl
* removed ersataz YAML::XS dependency
* use 'return' instead of 'return undef'
* minor language changes
2009-03-04 12:47:53 +01:00
Owen Leonard b315809f64 Removing check for non-existent OPACDisplayItypes sytem pref which prevented itemtype icons from appearing on opac-detail.pl 2009-03-04 12:47:48 +01:00
Owen Leonard 72a73e0ddd Enabling listing of category codes when "new patron" button is displayed.
circulation.pl lacked the code to check whether category codes existed, meaning it would only display category types.
2009-03-04 12:47:40 +01:00
Nahuel ANGELINETTI 40115eb110 (bug #2978) fix differents bugs in marc editor
This patch fix two bugs:

 * tag duplication
If you try to duplicate an autority tag, the javascript call is kept, and the id is not modified, and fields are not emptied.

 * openAuth() call
The id called on duplicated fields is not the great id.
And the different values sent to auth_finder.pl to pre-fetch datas from firstname, etc... send values from all same tags, and not from the selected tag.
2009-03-04 12:47:40 +01:00
Andrew Elwell 61192bddfc Minor documentation updates.
Just a few minor updates - typo fixes and rewording of the auth process.

From a5d47fed7ab81179b8e40e4251f06a380b5fdfef Mon Sep 17 00:00:00 2001
From: Andrew Elwell <andrew.elwell@gmail.com>
Date: Thu, 19 Feb 2009 12:01:55 +0100
Subject: [PATCH] Minor documentation typos
2009-03-04 12:47:39 +01:00
Michael Hafen 62f6ff9826 bug itemtype icons interfere with location text
Thanks to Owen for this.

This changes the itemtype icons from css backgrounds to images.  Also
there is a little css tweaking to compensate for some other things taken
out from that area - like margin and padding declarations.
2009-03-04 12:47:39 +01:00
Michael Hafen 1d0aba55a5 Add barcode to staff search results page.
This adds a copy barcode do the item list (Location) on the staff search
results page.
2009-03-04 12:47:38 +01:00
Stephen Edwards 195fcb9c60 bug 2971: Fixed leak by removing drop shadow instead of hiding it.
Changed blanket "hide()" of all drop shadows to "removeShadow()" of
the specific one for the cart list.
2009-03-04 12:47:38 +01:00
Joe Atzberger 19708b2069 Bug 2968 - SIP ACS_STATUS message (98) misreported config.
The *_ok methods in ILS.pm were targeting the wrong depth.
This also resolves a longstanding FIXME on to_bool() warning like:
    Argument "\x{66}\x{61}..." isn't numeric in numeric ne (!=) at /ILS.pm line 94.

The example_institution_dump.sh essentially provides the proof test case for this patch.
Run it before/after on SIPconfig.xml where "MAIN" has checkout="true" and checkin="true".
2009-03-04 12:47:37 +01:00
Frederic Demians f646bf3afb URLs checker enhancement (bug #2959)
Improve URLs checker script in the way (half way) pointed out by Galen:

- A C4::URL::Checker class handle URL checking. This class is not yet
  in a separate file in C4 directory. This class would be easily
  extended to accomodate authorities URLs checking.
- Script output can now be formatted in CSV or HTML. HTML version
  link directly to MARC biblio record editor.
2009-03-04 12:47:23 +01:00
Nahuel ANGELINETTI bc446f1d5a (bug #2962) escape searchbox, and change the search from tag clouds
This patch escape the searchbox to permit to have quotes in searchs.
And make exacts search on autorities from subject tag cloud.
2009-03-04 12:47:22 +01:00