Joe Atzberger
cd980afbf3
Perldoc fixes - Auth_with_ldap.pm and Log.pm
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 19:00:35 -06:00
Joe Atzberger
377db43117
C4 and misc: permissions fixes
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 19:00:34 -06:00
Joe Atzberger
37172b5148
Auth_with_ldap: support non-RFC#2798 user IDs.
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-13 19:00:33 -06:00
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
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
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
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
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
Joshua Ferraro
1cd20471ba
fix for bug introduced recently if due_date is null, search failed
2007-12-13 04:28:35 -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
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
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
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
Mason James
33349093cb
fix for ModZebra() trying to delete an existing bib - that doesnt exist, during an add.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-06 11:34:32 -06:00
Galen Charlton
902176da56
bugfix: made yuipath available to login page template
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-06 11:27:08 -06:00
Ryan Higgins
ac12ba03fb
Able to call haspermission w/o $dbh, and add error msg on deletemember.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-05 15:41:10 -06:00
Joe Atzberger
e7ea6196e6
Members.pm - respond to $debug, some formatting and reduction of duplicative code.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:37:15 -06:00
Joe Atzberger
94c4c7c1f7
Auth_with_ldap : module and test final touches.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:28:21 -06:00
Joe Atzberger
a462c8939e
LDAP - further integration
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:28:19 -06:00
Joe Atzberger
a5e0283cdd
Log.pm: reduce duplicative code in conditional
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:28:16 -06:00
Joe Atzberger
9b062e128c
Auth.pm -- just the start of trying to make Auth intelligible and extensible
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:27:08 -06:00
Joe Atzberger
009819b1db
Dates.pm -- Comment and perldoc cleanup.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:27:07 -06:00
Joe Atzberger
d88ecc0751
Big LDAP changes, module test for Context.pm, still more yet to come.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 17:27:06 -06:00
Joe Atzberger
af14810bac
Context.pm: obvious code consolidation, perldoc corrections.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 16:03:26 -06:00
Joe Atzberger
a428b49167
Letters.pm: Minor change. Unsure if this is "the right" move, but pretty sure the line does not make sense as is.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-04 15:45:51 -06:00
Chris Cormack
54e6cf71e3
Fix for renewing
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 17:26:28 -06:00
Chris Cormack
4a373f27b0
Fix for bug 1575
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 16:15:57 -06:00
Ryan Higgins
92e89f48f4
disable actions in moremember based on staff_access permission
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:56 -06:00
Ryan Higgins
1a91801b06
Add Staff member type. Add permissions checks for bug# 1269
...
and related permissions on memberentry and mods.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:50 -06:00
Ryan Higgins
06d1995848
Slight mod to getuserflags and haspermission in prep for perms bugfix
...
Also adding some pod
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:38 -06:00
Ryan Higgins
85d8c91976
adding Staff Borrower to handle Bug 1269
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:17:14 -06:00
Galen Charlton
ad4e02f91d
warn on attempts to add duplicate item barcodes during batch import
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:06:24 -06:00
Galen Charlton
6bb4eb130d
bug 1615: AddItem() now sets issues, renewals, and reserves
...
When an item was created, the renewals, issues, and reserves columns
were not set from the MARC data. This was noticed particularly
in the context of batch loads, where a user might supply
data for those fields.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 15:06:23 -06:00
Henri-Damien LAURENT
8afd53e333
Bug fixing : infinite loop when repeated operator + distinguishing operators
...
limits would provide with unnecessary repeated "and"
Thus causing wild loop
So removing them.
aud was transformed into author when it qualified audience.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:58:43 -06:00
root
3ddff0ce41
Bug Fixing : NZsearch
...
parenthesis introduce a priority.
yr:XXXX-YYYY is now processed correctly.
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:57:54 -06:00
Ryan Higgins
105adc6ccd
changing haspermission() to require that user has ALL requiredflags, not ANYOF requiredflags
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:57:12 -06:00
Paul POULAIN
f5cddc0807
when the result has an author as search term, the link contained the <span style="term"> in it
...
this fix add a author_nospan, that contains the author in it's native form
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:49:01 -06:00
Chris Cormack
432fbaed04
Fix for bug 1613 making sure the zebraqueue is updated when an item is
...
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-12-02 14:12:38 -06:00
Galen Charlton
5d023531a1
bugfix: do not store item tags when saving old copy of bib
...
If a MARC batch was imported, then reverted, the 952s
from the saved copied of the bib were added back
when the bib was replaced, leading to duplication
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-28 21:44:23 -06:00
Owen Leonard
6810d3c982
Change from kados to XISBN.pm ("handle no response from ThingISBN"), and change to similar items markup in detail.tmpl
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-28 21:26:43 -06:00
Owen Leonard
d0379ed325
If LibraryName was not specified, the opac layout was broken. Adding a default ("Koha Online Catalog") to the template in case LibraryName is empty.
...
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-28 21:25:16 -06:00
Joshua Ferraro
f66d9131bf
fixing problem with adv search on staff client
...
Issue was that language limit was being set with a
relation (=) but no operand
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-28 12:47:17 -06:00
Galen Charlton
1854ad60a3
bug 1614: revise GetMarcItem so that info dervies from items table
...
This should help make the items table more authoritative, and ensures
that the items editor does not blank circulation fields such as
issues.
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-27 17:05:56 -06:00