Commit Graph

10425 Commits

Author SHA1 Message Date
Michael Hafen dbc0161cdc Avoid potentially unnecessary database call in Auth
Auth, after verifying the session/logging in the user, calls to the database
to get the users borrowernumber.  This call is probably unnecessary because
borrowernumber is part of userenv.  Check userenv before going to the database.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-19 23:47:09 +02:00
Owen Leonard dfa8b99296 Follow-up for Bug 3524, adding itemtype text description
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-19 23:47:08 +02:00
J. David Bavousett 4328b87841 Handle null-or-empty to Charset::StripNonXmlChars
When rebuild_zebra.pl is run from cron, there is an occasional error
of the form:

Use of uninitialized value $str in substitution (s///) at /home/ebpl/kohaclone/C4/Charset.pm line 304.

This error is occuring when the string that is fed to Charset::StripNonXmlChars
is null or undefined, for some reason.

This fix will handle the null-or-empty condition, and thus suppress the error.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-19 23:47:08 +02:00
Garry Collum b4f741ea9b Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl
Tested for warnings after addition of 'use warnings.' No warnings were generated.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-19 23:47:08 +02:00
Garry Collum c0e53e9be7 Bug 3601: Cleanup of holiday.tmpl
Changes the word 'location' to 'library.'
Expands the description of 'exception.'

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-19 23:47:08 +02:00
Nahuel ANGELINETTI 74b44e4c3a don't die if a bad date is specified 2009-09-19 23:47:07 +02:00
Nahuel ANGELINETTI 09793f2638 (bug #3575) fix opac-detail.pl
This delete an useless "use C4::Serials"(there are 2).
And fix the opac-detail template, to fix a variable conflict for serials.
2009-09-19 23:47:07 +02:00
Henri-Damien LAURENT 9b1f2270dc [3.0.x](bug #3563) This replaces the library name by the branchname attached to the subscription, and hide streetaddesses in serials routing
In routing-preview, the title should be the branchname attached to the
subscription instead of the libraryname.
And showing the streetaddress of the members is useless, and harm privacy.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 23:47:07 +02:00
Nahuel ANGELINETTI 0eb53bc60f [followup](bug #3550) show subtitle in opac search result
This fix the opac search result, to show subtitle using GetRecordValue.
2009-09-19 23:47:06 +02:00
Nahuel ANGELINETTI d20072c7c3 [followup](bug #3370) export function and fix return
this add GetRecordValue in exported functions, and made it to return a ref.
2009-09-19 23:47:06 +02:00
Henri-Damien LAURENT eee734518f [3.0.x](bug #3549) Sorted framework options in the dropdown menu
In addbook.pl, the framework options are sorted in random order. They should be
sorted in alphabetical order of value or code.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 23:46:59 +02:00
Henri-Damien LAURENT abba73ebb6 (bug #3505) fix 210c and 225a unimarc's plugins
This fix the 2 plugins, make 225a to work with koha 3.0, and fix 210c to be xhtml valid

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 23:16:57 +02:00
Nahuel ANGELINETTI e63849d137 [followup](bug #3370) fix the "Get" function name
This fix the problem with the Get function in C4::Biblio, the new name is GetRecordValue and located in export_ok.
2009-09-19 23:16:57 +02:00
Henri-Damien LAURENT 1aede39173 (bug #3395) fix unimarc plugin 225$a
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 22:36:57 +02:00
Nahuel ANGELINETTI b21a5bdadc (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.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 22:31:34 +02:00
Nahuel ANGELINETTI 2152d95b3c (bug #3550) use GetRecordValue to retrieve subtitle
This patch, is the first use of GetRecordValue, that use the Field mapping.
It retrieve the subtitle in Intranet using it, instead of the use an old function that doesn't work anymore.
This is a way to made koha more generic with each framework.

Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
2009-09-19 22:24:41 +02:00
Henri-Damien LAURENT 99aa441fb6 additem : change GetBranches to GetBranchesLoop 2009-09-19 21:47:49 +02:00
Chris Cormack 32ecbaa18e Lots of language updates 2009-09-19 13:37:32 +12:00
Henri-Damien LAURENT b29a7278c3 Markup corrections and opac-IBDdetail.pl fixing 2009-09-17 15:24:54 +02:00
Henri-Damien LAURENT af40164951 followup Amazon.pm bugfix fd4ed72988 2009-09-17 14:52:00 +02:00
Henri-Damien LAURENT c3d097c962 Bug Fixing Merge problem
JS in moremember.tmpl was bogus
2009-09-17 11:40:46 +02:00
Henri-Damien LAURENT 6bbc4b143f Translating unimarc_leader plugin in english
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
2009-09-17 11:19:54 +02:00
Chris Cormack b08f4f36b5 Language updates 2009-09-17 19:31:56 +12:00
Henri-Damien LAURENT 5e93138d8f Bug Fixing updatedatabase 2009-09-17 09:16:51 +02:00
Henri-Damien LAURENT fd4ed72988 Bug Fixing Amazon.pm would not compile
missing call of C4::External::Amazon in opac-ISBDdetail.pl
@aws was not defined
2009-09-16 23:22:00 +02: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 843b186c6b Fixing some leftover conflict 2009-09-16 23:19:49 +02:00
Chris Cormack b63fff5ba4 Fixing mess leftover from conflict 2009-09-16 23:19:49 +02:00
Chris Cormack c63bec4855 Starting work updating translations 2009-09-16 23:19:49 +02:00
Chris Cormack 7232e97f67 Fixing record.abs for authorities and MARC21 2009-09-16 23:19:47 +02:00
Chris Cormack a223764636 More fixes to the shelves test 2009-09-16 23:19:47 +02:00