Commit graph

7121 commits

Author SHA1 Message Date
Joe Atzberger
d39334c9c5 Context.pm - bugfix punctuation (; vs ,)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 19:00:31 -06:00
Henri-Damien LAURENT
65295e5e22 authorities result lists where badly paged.
finalresult contained the whole list and not only the useful results.
resultlist contained only 19 elements. adding one
parameters passed through pages contained also empty parameters deleting them.
Conflicts:

	C4/AuthoritiesMarc.pm

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:25:52 -06:00
Paul POULAIN
713940d920 BiblioAddAuthorities : adding "" in search term, in case there is a ()
+ improving some tests
+ removing some comments

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:25:50 -06:00
Paul POULAIN
7f252a2b3f AddAuthority, adding 100 field for UNIMARC if it's not provided
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:25:49 -06:00
Henri-Damien LAURENT
7f2d6b025f Bug FIX : 437 'Browse Members' function should return paged results
Adding pagination_bar to results if needed.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:07:23 -06:00
Joshua Ferraro
9c93338b86 removing some unnecessary lines
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 18:03:47 -06:00
Paul POULAIN
d506b127ee fix to delete a virtualshelf content correctly
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:57:30 -06:00
Paul POULAIN
6da5ad063f NoZera don't handle fuzzy/stemming/weight
so ignoring those sysprefs

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:57:03 -06:00
Paul POULAIN
1cc21be002 unimarc.abs change : defaulting author sorting to 700$a
instead of 200$f
+ some tab added to have something easier to read
Some libraries don't use authorities (700$a),
but they are usually small libraries, so won't be with zebra !

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:56:51 -06:00
Paul POULAIN
58cf5e62ac french translation, updated
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:56:35 -06:00
Joe Atzberger
673f0a25e5 moremember.pl - We will be doing a lot of debugging on Members, this is just the beginning.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:43:38 -06:00
Joe Atzberger
cac0e44fdb Auth_with_ldap.pm -- Silly spelling errors in perldoc
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:42:37 -06:00
Joe Atzberger
7012eb1abb Acquisition - Dates.pm switch
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:42:24 -06:00
Joe Atzberger
46ac9d4bfa rename ldap test file
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:34:14 -06:00
Galen Charlton
073b8b7a36 bugfix: restore setting classification source by dropdown
Apparently as an inadvertant result of the patches to
move the SQL files to load the MARC frameworks, the
authorised_value of 'cn_source' was dropped for
kohafield = 'items.cn_source' and 'biblioitems.cn_source'.

This patch restores those values, thus making the
classification source set by a dropdown in the bib
and item editors.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:30:34 -06:00
Galen Charlton
d46581b8f0 bugfix: do not try to set items.cn_sort twice
The way this API is used by additem.pl, the $item hasref
already contains a 'items.cn_sort' key whose value is
undef.  Setting $item->{'cn_sort'} instead of $item->{'items.cn_sort'}
ends putting with items.cn_sort and cn_sort in the UPDATE
items statement, making the final value of cn_sort in the DB
dependent on the order produced by Perl's keys function.

Also added a comment explaining a subtle (perhaps too subtle)
point in the code.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:30:25 -06:00
897c3a4eee Visual improvements to facets and search results; better js handling of Amazon book covers in results and detail.tmpl.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:28:40 -06:00
Chris Nighswonger
899a42db17 Fixed nozebra opac advsearch Title search problem.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:27:21 -06:00
Chris Nighswonger
6bf61aa64f Fix for BUG 1653
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:27:13 -06:00
Chris Nighswonger
f64dbb239f Adding LCCN to z2950 searches: Part 2
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:27:00 -06:00
Chris Nighswonger
2c6cfb07b2 Setting BiblioAddsAuthorities OFF by default as things break when enabled in MARC21 libraries
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:26:55 -06:00
Chris Nighswonger
0c558d1c97 Adding LCCN to z2950 searches
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:23:50 -06:00
0102c89954 Formatting dialog in additem.tmpl, markup correction in request.tmpl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:21:50 -06:00
b4aeb41f71 A couple of patch corrections to remove hardcoded /prog/ path (allows for alternate templates). Also upgrading jquery to version 1.2.1.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:21:26 -06:00
6bea46b097 More minor style changes, and markup fix for Bug 1321.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:21:23 -06:00
d202a5f945 Some reformatting in circ and members.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 17:21:21 -06:00
Joshua Ferraro
1cd20471ba fix for bug introduced recently if due_date is null, search failed 2007-12-13 04:28:35 -06:00
Henri-Damien LAURENT
4339c8585a BugFix 1640
setting QueryFuzzy, QueryStemming and QueryweightFields systempreferences to 0 if Nozebra chosen

Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:14:41 -06:00
root
716d061f43 adding hotlink to author search on details.pl page.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:13:11 -06:00
Galen Charlton
0f9154a18c removed shell metacharacter from filename -- source of install glitch
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:10:06 -06:00
76fda9c034 Wrapping patron image javascript in check for patronimage system pref
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:05:47 -06:00
5d640ddbb2 Fixing typo in value_builder/dateaccessioned.pl; Adding error message output to additem.tmpl (fixes Bug 1636, Can't delete from additems.pl).
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:05:38 -06:00
Ryan Higgins
46d77f4461 Virtual shelves: per shelf sort, multiple add in OPAC, partial bug fixes.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:13 -06:00
Ryan Higgins
433be86631 Add multiple items to virt shelf, and bugvix virtual shelf adds.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:11 -06:00
Ryan Higgins
0734f8fca0 Clean up moredetail.pl and updateitem.pl
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:10 -06:00
Ryan Higgins
df9296696b get_template_and_user returns $flags from checkauth for in-page perms.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:08 -06:00
Ryan Higgins
e4788e8a97 Add 'Staff' category_type to new dropdown, add category_type to GetMemberDetails retval
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:03:02 -06:00
Ryan Higgins
a2a234a1e1 Able to call haspermission w/o $dbh, and add error msg on deletemember.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:02:52 -06:00
Ryan Higgins
7e5eb3846e Adding in permission blocks for staff members as per previous commits.
Much of this is repeat of previous commits, and then some to finish off.

Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:02:00 -06:00
Ryan Higgins
413e0d3b35 Allow superlibrarian to change branch via header.inc
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 08:01:48 -06:00
Joe Atzberger
98ec6e5378 memberentry.pl - add $debug to prevent continual warn's.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:56:04 -06:00
Joe Atzberger
ca4ba92f21 basket.pl - conditionalized w/ $debug 3 warnings that would otherwise fire every time!
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:55:07 -06:00
Joe Atzberger
efaf1be1c5 Log.pm and Suggestions.pm - simple (correct) Dates.pm integration
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:51:46 -06:00
Joe Atzberger
12cf1799fe Search.pm -- Dates.pm (the correct way) and remove hard coded (on) DEBUG variable!
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:51:30 -06:00
Joe Atzberger
8cae12b9e7 Circulation.pm - remove Date.pm dependency.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:50:58 -06:00
Joe Atzberger
1da74696ef moremember.tmpl - minor format cleanup (spaces after colons in labels)
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-12 07:50:37 -06:00
Joe Atzberger
7aef1da6cf koha-news.tmpl - Cancel button still referenced "opac-news" instead of "koha-news"
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-08 07:28:35 -06:00
Galen Charlton
c8a9dfa398 bugfix: catch ZOOM exceptions in simple Search.pm
Now warns and returns error value, instead of aborting
the calling CGI.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-08 07:28:15 -06:00
Galen Charlton
121a067dd1 removed 'delete from' statements
Did this because marc21_framework_DEFAULT.sql was the
only install SQL that did this, and thus led to a problem
when the web installer was loading the optional MARC 21
framework SQL before the mandatory one.  Because
of the 'delete from', deleted all of the optional rows.

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-08 07:28:11 -06:00
Galen Charlton
4aeb861563 fixed order in which SQL scripts are applied by web installer
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-08 07:28:01 -06:00