Commit Graph

8580 Commits

Author SHA1 Message Date
toins cc9524a875 Head & rel_2_2 merged 2006-07-04 14:36:51 +00:00
btoumi 9a2677f401 Members.pm ,memberentry(A)(P)(C).tmpl,memberentry.pl:bug fix with wrong field name
memberentry.pl:translate  title in english ;=) (i hope is ok)
buf fix with bad condition
2006-06-22 10:07:49 +00:00
btoumi 96f5a77830 aquisition.pm : bug fix add variable decalaration
selectbranchprinter.tmpl :bug fix call to wrong include file
2006-06-22 08:43:07 +00:00
kados a3b10955e7 Adds Dublin Core and MODS support (incomplete) 2006-06-18 17:46:33 +00:00
rangi 3572a3509f Code to approve and delete reviews 2006-06-17 22:28:24 +00:00
rangi 4848a8346e Admin interface to approve reviews, not finished yet
Needs a script to delete a review and to approve one. Will work on this later (taking a break to watch rugby)
2006-06-17 04:26:38 +00:00
btoumi 963c7de328 Members.pm:add a field in sql request (sub getborrowercategory) to return category_type
memberentry.pl:modify call to getborrowercategory
moremember.tmpl:modify condition to display "add child" option (only for adult)
moremember.pl:add condition,call to getborrowercategory , change variable name
2006-06-15 14:05:23 +00:00
rangi fc7b633b2e Fixing missing parametrs for bookfundbreakdown 2006-06-13 08:45:04 +00:00
btoumi 8a469ed85d members.pm: add field fax in getguarantordata function
memberentry.pl : move getgarantordata use before step1
and add default_city value from guarantor  data (if exist)
2006-06-12 15:12:11 +00:00
btoumi 5bdce695b9 Members.pm: modify getborrowercategory function to return dateofbirthrequired and upperagelimit
memberentryC and P  : add error message ERROR_age_limitations
memberentry.pl : replace sql request  by function getborrowercategory for return upperagelimit and dateofbirthrequired
moremember.pl: modify call to function getborrowercategory
2006-06-12 13:00:40 +00:00
alaurin 02632b6bc3 bug fixing :
- for the userenv cookie, the branch, is now correctly implemented with the ip check .....
2006-06-09 12:06:15 +00:00
rangi cabf593c41 Fixing the missing , i just missed
I shouldnt commit things at midnight
2006-06-09 11:49:12 +00:00
rangi feff81eaea Fixing a bug that bruno spotted, $bookfund in receiveorder 2006-06-09 11:47:53 +00:00
alaurin 193e22714f Add a new system preference 'AutomaticItemReturn' :
if this prefence is switched on: the document returned in another library than homebranch, the system automaticly transfer the document to his homebranch (with notification for librarian in returns.tmpl) .

switch off : the document stay in the holdingbranch ...

correcting bugs :
- comment C4::acquisition (not using in request.pl).
- correcting date in request.pl
-add the new call of function getbranches in request.pl
2006-06-08 15:36:31 +00:00
btoumi d7526b7044 members.js :translate javascript message
moremember.tmpl:change wrong url
Members.pm: change wrong field name in sql request(sub newmember)
memberentryA.tmpl : change wrong field name
memberentry.pl:change test condition (checkuniquemember)
2006-06-07 14:55:36 +00:00
alaurin c5f7394fcb change the name of function : "get_return_date_of" to "get_current_date_of" 2006-06-07 13:47:55 +00:00
btoumi 3eb754b995 bug fix: syntax error in sub getbranches 2006-06-07 07:50:04 +00:00
rangi dbdd62422e Merging in Katipo changes plus perltidy code format 2006-06-07 03:58:37 +00:00
bob_lyon b9704af003 merging katipo changes...
Adding the ability to have charge discounts on items for certain patrons
2006-06-07 03:11:35 +00:00
bob_lyon 321474ab31 merging katipo changes...
fixing syntax mistake and adding specific change allowing workers at a
library not to have issuing impossible alerts
2006-06-07 02:31:18 +00:00
bob_lyon ab62ac7ab6 fixing choosing wrong var for max amount issues number 2006-06-07 02:07:10 +00:00
sushi fb5c9b318a Merging Katipo changes.
Added a bit to display the correct item type for a person who has 2 or more
reserve this type only reserves on the same day, ie - reserved a dvd and a book with same biblio.
2006-06-07 02:04:48 +00:00
bob_lyon 79befda127 Merging Katipo changes...
Adding the allowance for making issuing impossible after a patron has
accumulated a certain level of debt
2006-06-07 01:56:57 +00:00
bob_lyon d10c940c46 Merging Katipo changes...
Fixing bug with defined() - when used on array or hash will check if memory
is allocated rather than if is empty/not empty
2006-06-07 01:38:14 +00:00
rangi c6f622b3d6 Merging Katipo work
Fixing formatting of code, and adding new routines for use generating overdue notices
2006-06-07 01:32:06 +00:00
rangi 5ef593682d Merging katipo changes
Last of the changes for Acquisitions.pm, bookfundbreakdowns
2006-06-07 00:39:22 +00:00
sushi 247680016c Merging Katipo changes.
Updating new fixpriority() sub. now used by reorder_reserve.pl.
2006-06-07 00:36:22 +00:00
rangi 364e4f9061 Katipo merging work
Fixes for the ordersearch
2006-06-07 00:07:59 +00:00
sushi 1a7c82488a Merging Katipo changes.
Adding CalcHLTReserveFee(), and change to CreateReserve().
2006-06-06 23:49:26 +00:00
bob_lyon 58249a9807 merging Katipo changes...
site specific chage for issues data being stored in two tables
2006-06-06 23:36:37 +00:00
sushi 7f1b79df10 Merging Katipo changes
Now removing the resurrected biblio from the list.
2006-06-06 23:20:30 +00:00
rangi d7648aae50 Merging Katipo changes...
Fixing formatting and fixing neworder
2006-06-06 23:18:12 +00:00
bob_lyon 0f568852a8 Merging katipo changes...
altering subject search to stop returning blank rows
2006-06-06 23:13:14 +00:00
bob_lyon fa9d8e54c2 Merging katipo changes...
Modified getbranches so you can pass it a branch type and it will only
return branches of that type
2006-06-06 22:48:00 +00:00
btoumi a98d60ada1 bug fix :syntax error in variable name 2006-06-06 15:54:36 +00:00
alaurin 0f00577a9e bug fix : for item reservation, now the system don't keep the reserve if the document is returned, works fine !!!! 2006-06-06 12:26:57 +00:00
btoumi 88d93b4563 modifiy sql syntax for modmember and newmember
add right field in sql syntax
move get_age function from memberentry.pl
2006-06-02 15:48:10 +00:00
btoumi ea0297b7fa delete today function (from OP) 2006-06-02 15:31:20 +00:00
btoumi e67590c3aa move function get_age :
memberentry.pl => Members.pm
add forgotten field in sql request
2006-06-02 14:51:43 +00:00
rangi 25ee635911 Modifying members is now working, well mostly anyway. 2006-06-01 23:18:57 +00:00
rangi 55cb9efaa4 Fixing a lot of formatting
Now working on fixing modmember so it works with the new members system
2006-06-01 22:49:08 +00:00
rangi 0cc091d223 Stores an associated borrowernumber now with issue data, if the system pref is set.
Otherwise there is no difference
2006-06-01 01:42:19 +00:00
rangi eb07ca7bf4 Fix for expiry date bug 2006-06-01 01:41:22 +00:00
kados ca23c659fc doesn't use context yet ... 2006-05-29 17:51:16 +00:00
kados 1d25bf1e4a Testing suite for Record.pm. This script will assist you to determine
whether you system is capable of utilizing Record.pm (if there are
problems, it's likely with the back-end SAX Parser you've got installed).
I'll be expanding this in the future to provide better error handling
and instructions for fixing the parsers, etc.
2006-05-29 17:43:56 +00:00
kados 58dafa6904 Expanding the error-handling and capabilities of the Record.pm API.
This module represents a major leap forward in Koha's support of standard
record formats (ISO-2709 (MARC), MARCXML, Dublin Core, MODS, etc). It
provides a standard API for record management as well as an error-handling
mechanism so that the API will return proper error strings to the calling
program. It's only partially implemented currently, but the API returns
proper error strings if a feature isn't implemented.

There is also a testing suite that you can use to check your system's
capabilities to handle record and encoding conversions. Commit coming
soon.

I'm gonna work in UNICODE support next ...
2006-05-29 17:41:44 +00:00
kados 83f35f6c90 fixing some misspellings, reformatting a bit, etc. 2006-05-24 23:30:43 +00:00
kados 0ee6cf80a5 Record.pm is a new module in Koha 3.0 for managing MARC, MARCXML, XML, etc.
records. It can be used to convert from one record format to another,
build formats from html (such as in addbiblio and additem), convert from
one encoding to another, etc.

It's the first module that provides access to the new Koha 3.0 API that
I've been working on (stay tuned for a mail to koha-devel explaining it).
2006-05-24 21:29:32 +00:00
btoumi 55171a6af4 syntax error has been corrected 2006-05-23 15:01:12 +00:00
btoumi 8d75bc7426 syntax error has been corrected 2006-05-23 10:00:01 +00:00
rangi 31c21007cc add_member_orgs, to add borrowers to organisations (other borrowers) 2006-05-23 03:18:39 +00:00
rangi 34fb43b943 No merge needed, added a version string and the copyright statement 2006-05-23 01:53:19 +00:00
rangi 30412ec5cf Code to display list of organisations/institutions if memberofinstitution is set to yes 2006-05-23 00:46:32 +00:00
rangi 36d317eeb7 Adding version string, checked merge from dev_week, not needed 2006-05-22 23:25:37 +00:00
rangi 42be25f242 Fixing my syntax error, whoops 2006-05-22 23:13:56 +00:00
rangi 9bf0cfa4b9 Just adding a version string 2006-05-22 23:10:30 +00:00
rangi 2eae386c21 Merging from dev_week 2006-05-21 06:09:33 +00:00
rangi 18be558c9b Merging from dev_week 2006-05-21 06:03:32 +00:00
rangi 536d95d089 Merging dev_week, and fixing formatting 2006-05-21 05:59:47 +00:00
tgarip1957 fa7905eaf0 Typo error. Missing '>' 2006-05-20 14:36:09 +00:00
tgarip1957 e8a68f3109 If an authority is modified biblios related to this authority were not updated but a list of modified authorities was written to disk. Now by defult they get modified as well unless a system preference 'dontmerge' is defined. dontmerge=1 will keep the previous behaviour.
Authority zebra server may have different shadow settings. Support is added
2006-05-20 14:32:54 +00:00
tgarip1957 d9051babdb Adding support to read zebra database name from config files 2006-05-20 14:28:02 +00:00
tgarip1957 115d5b6f72 All support for auth_subfield_tables is removed. All search is now with zebra authorities. New authority structure allows multiple linking of authorities of differnet types to one another.
Authority tables are modified to be compatible with new MARC frameworks. This change is part of Authority Linking & Zebra authorities. Requires change in Mysql database. It will break head unless all changes regarding this is implemented. This warning will take place on all commits regarding this
2006-05-19 18:09:39 +00:00
alaurin c0a44fe115 improvement of reserves.pl with item - reservation 2006-05-19 17:05:11 +00:00
alaurin c98bae12bb new dev : create 3 new program for circulation :
branchreserves : to see reserves for one library (with the branchip selection or librarian preferences)

currenttransfers : show all the transfers are waiting in the library

waitingreservetransfers: show all the book the librarian have to transfer to an another library .

"actions" are bugged, will be corrected .
2006-05-19 17:01:02 +00:00
alaurin 527c449099 committing new feature ip and printer management
adding two fields in branches table (branchip,branchprinter)

branchip : if the library enter an ip or ip range any librarian that connect from computer in this ip range will be temporarly affected to the corresponding branch .

branchprinter : the library  can select a default printer for a branch
2006-05-19 09:52:54 +00:00
plg 68924c5e6b New feature from SAN Ouest Provence: ability to reserve a specific item in
the intranet. The development was made on branch 2.2 by Arnaud Laurin from
Ouest Provence and integrated on HEAD by Pierrick Le Gall from INEO media
system.

New page reserve/request.pl taking a biblionumber as entry point.

New functions:

- C4::Biblio::get_iteminfos_of retrieves item informations for a list of
  itemnumbers

- C4::Biblio::get_biblioiteminfos_of retrieves biblioitem informations for a
  list of biblioitemnumbers

- C4::Biblio::get_itemnumbers_of retrieve the list of itemnumbers related to
  each biblionumber given in argument.

- C4::Circulation::Circ2::get_return_date_of retrieves return date for a
  list of itemnumbers.

- C4::Koha::get_itemtypeinfos_of retrieves the informations related to a
  list of itemtypes.

- C4::Koha::get_branchinfos_of retrieves the informations related to a list
  of branchcodes.

- C4::Koha::get_notforloan_label_of retrives the list of status/label for
  the authorised_values related to notforloan.

- C4::Koha::get_infos_of is the generic function used by all get_*infos_of.

- C4::Reserves2::GetNumberReservesFromBorrower

- C4::Reserves2::GetFirstReserveDateFromItem

Modified functions:

- C4::Reserves2::FindReserves was simplified to be more readable.

The reservation page is reserve/request.pl and is linked from nowhere as
long as zebra is not stable yet on HEAD.
2006-05-17 16:06:23 +00:00
tgarip1957 a96d6fd5a9 Adding support for getting details of different zebra servers 2006-05-14 00:22:31 +00:00
tgarip1957 bc8ab8e1d4 Now reads koha.xml rather than koha.conf.
koha.xml contains both the koha configuration and zebraserver configuration.
Zebra connection is modified to allow connection to authority zebra as well.
It will break head if koha.conf is not replaced with koha.xml
2006-05-13 19:51:39 +00:00
tipaul e9a9ffb36e adding the branchname and the librarian name in every page :
- modified userenv to add branchname
- modifier menus.inc to have the librarian name & userenv displayed on every page. they are in a librarian_information div.
2006-05-09 13:28:08 +00:00
tgarip1957 347f00fede Change the MARC Leader to UTF-8 incase user did not set it. Important for Zebra.
The new M::F::XML is sensitive to leader settings
2006-04-15 02:47:47 +00:00
tipaul 08803929df defaulting usernumber to '' (root login) 2006-04-14 09:33:56 +00:00
tipaul 97182dceb2 improvements from SAN Ouest Provence :
* introducing a category_type into categories. It can be A (adult), C (children), P (Professionnal), I (institution/organisation).
* each category_type has it's own forms to create members.
* the borrowers table has been heavily modified (many fields changed), to get something more logic & readable
* reintroducing guarantor/guanrantee system that is now independant from hardcoded C/A for categories
* updating templates to fit template rules

(see mail feb, 17 on koha-devel "new features for borrowers" for more details)
2006-04-14 09:31:24 +00:00
plg bf0fbdf6d2 bug fixed: typo on Zconnauth name 2006-04-13 08:40:11 +00:00
plg 3bec20f948 new: function C4::Date::get_date_format_string_for_DHTMLcalendar based on
the system preference prefered date format.

improvement: book fund list and budget list screen redesigned. Filters on
each field. Columns are not sortable yet. Using DHTML Calendar to fill date
fields instead of manual filling. Pagination system. From the book fund
list, you can reach the budget list, filtered on a book fund, or not. A
budget can be added only from book fund list screen.

bug fixed: branchcode was missing in table aqbudget.

bug fixed: when setting a branchcode to a book fund, all associated budgets
move to this branchcode.

modification: when adding/modifying budget/fund, MySQL specific "REPLACE..."
statements replaced by standard SQL compliant statement.

bug fixed: when adding/modifying a budget, if the book fund is associated to
a branch, the branch selection is disabled and set to the book fund branch.
2006-04-13 08:36:42 +00:00
tgarip1957 cac5265e0b A new handler defined for zebra Zconnauth with read/write permission. Zconnauth should only be called in biblio.pm where write operations are. Use of this handler will break things unless koha.conf contains new variables:
zebradb=localhost
zebraport=<your port>
zebrauser=<username>
zebrapass=<password>

The zebra.cfg file should read:
perm.anonymous:r
perm.username:rw
passw.c:<yourpasswordfile>

Password file should be prepared with Apaches htpasswd utility in encrypted mode and should exist in a folder zebra.cfg can read
2006-04-10 21:40:23 +00:00
tgarip1957 4d79160310 Holding branch gets updated in MARC when a branch transfer occurs 2006-04-10 20:42:18 +00:00
tgarip1957 64e4a87e49 New sub to use by Circ2.pm . Allows one subfield of MARC holdings fields to be updated to use with branch transfer(holdingbranch) and onloan flag when set 2006-04-10 20:39:49 +00:00
plg c66d4eb161 modification: on itemtypes management screen, useless form are replaced by
simple links.

improvement: support of itemtype icons on prog template. The icons are
displayed on itemtypes management screen and on moremember screen.

improvement: use of pagination_bar on itemtypes management screen.

new: function were added in C4::Koha to manage itemtype image location
(local/remote). Warning: you must copy or symlink the itemtypeimg directory
from the opac template into the intranet template.
2006-04-07 11:10:25 +00:00
plg 3096d75677 bug fixed: on admin/stopwords, the calculation of the number of pages to
display in the pagination bar was wrong on extreme case (when number of
items equals the pagesize). Calculation replaced by a generic function
getnbpages in C4::Koha. This function could be useful elsewhere than in
stpwords management screen and avoid calculation bugs as I did.
2006-04-07 08:24:36 +00:00
plg e0090dcdaa new: authorities in prog/en template, only partial import from default/en
template.

improved: C4::Output::pagination_bar builds an HTML pagination bar with no
language dependency. This function hugely simplifies templates and offers a
standard pagination method. This function also improves preformances.
2006-04-04 10:05:48 +00:00
kados 36b3d24bcd sync with head. 2006-04-03 23:45:00 +00:00
rangi 4f210d4556 Modify item now works
BUT only if there is only one item, if there is more than one item, it gets messed up.
They get combined into the form, ill work on this next
2006-04-03 04:00:02 +00:00
kados 04126d61f6 some modifs to improve plugin support 2006-04-03 02:12:49 +00:00
rangi 10b2315eb3 Fixing the problem that all items were getting biblioitem=1 set 2006-04-01 22:10:50 +00:00
rangi c450bfcdf5 Adding a little fake subroutine that a few scripts in the opac depend on, can be removed once the opac scripts are rewritten 2006-04-01 21:22:05 +00:00
rangi 1e70782e79 Delete isnt working using the extended services method 2006-03-29 01:56:25 +00:00
rangi eeb654d21d Delete working now 2006-03-28 23:05:08 +00:00
rangi b338d23dab All searches being ranked by relevance by default 2006-03-28 21:29:56 +00:00
kados 2d92cb70ea change default sort by 2006-03-22 03:55:10 +00:00
rangi 2f3a223148 Passing back the right count 2006-03-21 23:45:43 +00:00
rangi be22e680c8 Adding more sort options 2006-03-21 22:49:18 +00:00
plg 499484a768 bug fixed: utf-8 data where not displayed correctly in screens. Supposing
your data are truely utf-8 encoded in your database, they should be
correctly displayed. "set names 'UTF8'" on mysql connection (C4/Context.pm)
is mandatory and "binmode" to utf8 (C4/Interface/CGI/Output.pm) seemed to
converted data twice, so it was removed.
2006-03-15 11:21:56 +00:00
rangi 0d99dcf149 Testing sorting result sets 2006-03-13 23:17:26 +00:00
rangi 71ed3a21f1 Adding commits, so that changes stick 2006-03-13 23:12:44 +00:00
kados 5a2aa51d38 syncing MARChtml2xml wtih rel_2_2, removing unused MARChtml2marc 2006-03-10 02:40:38 +00:00
kados 8de246aa37 Hopefully a fix for hdl's accented characters not working. NOTE: BY
DEFAULT, MARC::File::XML will turn UTF-8 into MARC-8 in the new_as_xml
method ... to keep it as UTF-8 you must specify a second parameter 'UTF-8'
2006-03-08 18:12:42 +00:00
kados c720216a89 adding support for 'delete' function 2006-03-07 22:00:18 +00:00
rangi 7748a1cc02 Starting work on deletes 2006-03-07 21:54:47 +00:00
rangi 4218fa64e8 Barcode search 2006-03-07 20:32:52 +00:00
plg 9d32aaccfd typo fixed: a ";" was missing at the end of Zebra connection retrieving in
C4::Search->get_record
2006-03-06 15:39:02 +00:00
tipaul bbf7c9667e commit for holidays and news management.
(some forgotten files)
2006-03-06 12:43:36 +00:00
rangi b28675d959 Adding a few more search options 2006-03-06 04:58:16 +00:00
rangi c17b17f957 Tweaking searching 2006-03-06 04:31:18 +00:00
kados 531fb1fdcd Adding fixes to MARC editor to HEAD 2006-03-06 02:45:41 +00:00
hdl 7280737d59 Bug fixing : a line missed a comment sign. 2006-03-03 17:25:01 +00:00
kados 32d6145a3c Remove the search that tests the Zconn -- warning, still no fault
tollerance
2006-03-03 16:45:36 +00:00
kados ee4e844ec0 rollback ... by accident I committed a rel_2_2 Biblio.pm 2006-03-01 03:07:54 +00:00
kados 1ceb74126e MARChtml2xml for improved MARC editor 2006-03-01 02:13:00 +00:00
hdl e139654acb Adding getletters to Koha.pm :
allow to get a list of letters for a module.

overduerules is a tool relying on letter.pl
It will allow ppl to manage three levels of overdue thanks to a brand new overduenotice script to come out soon.
2006-02-27 18:15:41 +00:00
kados a3ff047944 use new Context->Zconn object 2006-02-27 01:10:14 +00:00
kados ea3034363c Removing 'our Zconn' from top... 2006-02-27 01:08:31 +00:00
kados b9abeb3516 moving all $Zconn s to z3950_extended_services (currently, nothing
works).
2006-02-26 00:08:20 +00:00
kados 13388132cd Changed to use new Zconn object in Context.pm. Not sure if the Zconn
should be set within the subroutine or should be passed in via the
script -- Chris, what do you think?
2006-02-25 22:47:37 +00:00
kados 43ba997935 Another purely documentation commit. Just changing formatting to ease
readability.
2006-02-25 22:39:10 +00:00
kados 2d0d17e738 Purely documentation change: converted all =head2 entries to use function
name as title rather than usage as title
2006-02-25 21:17:20 +00:00
kados 52451b270a Further cleanup, convering new routines to 4-chars 2006-02-25 21:02:20 +00:00
kados 6a49fb64ab Better documentation, added warning if serviceType is 'drop' since it's
not supported in Zebra.
2006-02-25 20:49:15 +00:00
kados e968f2e957 IMPORTANT: Paul, I've removed the decode_char routine because it's no
longer necessary. If we need to convert from MARC-8 for display, we should:

1. use utf-8
2. do it with MARC::Charset

If you still need it, let me know and I'll put it back in.
2006-02-25 20:30:32 +00:00
kados 915304a8d3 cleaning up POD docs, deleting zebra_create as it's no longer used (
replaced by z3950_extended_services).
2006-02-25 19:23:01 +00:00
kados 14a804b10f readding some lost subs 2006-02-25 19:09:59 +00:00
kados 6eef63f6eb Reverting to last version because the fix I committed breaks tag
repeatability. Note that there is still a problem with the Koha
MARC editor saving blank tags and subfields in a record!
2006-02-25 07:43:49 +00:00
kados af22515d9d Replacing all calls to zebra_update with calls to
z3950_extended_services. More work coming, but it's
working now.
2006-02-22 01:02:39 +00:00
kados d116b9d619 First go at a connection object for Zebra. You can now get a
connection object by doing:

my $Zconn = C4::Context->Zconn;

My initial tests indicate that as soon as your funcion ends
(ie, when you're done doing something) the connection will be
closed automatically. There may be some other way to make the
connection more stateful, I'm not sure...
2006-02-22 00:56:59 +00:00
rangi 6edaf7bbe7 get_record works now 2006-02-21 00:08:41 +00:00
kados 61cf07ba94 typo 2006-02-20 14:22:38 +00:00
kados 25eb0edc78 A new subroutine to handle Z39.50 extended services. You pass it a
connection object, service type, service options, and a record, and
it performs the service and handles any exception found.
2006-02-20 13:26:11 +00:00
tipaul 6a3baa80da forcing utf8 communications between perl & apache 2006-02-17 15:28:55 +00:00
tipaul 12aad23e9f removing set names=UTF8, seems useless. Still investigating mysql-perl-utf8 2006-02-17 15:25:59 +00:00
rangi 3d5d00b463 Little test set up that lets you type cql in which is passed to zebra
install search-test.pl on your opac (or the intranet, if intranet youll need to put the tmpl file in the intranet too)


NOT FOR PRODUCTION, purely for testing
2006-02-16 20:51:07 +00:00
kados 88d6a12e17 destroy a connection after we're done -- we really should just have one
connection object and not destroy it until the whole transaction is
finished -- but this will do for now
2006-02-16 20:49:56 +00:00
rangi 5eed2d6605 Trying to error trap a little more. 2006-02-16 19:47:22 +00:00
thd 7bf048e8a8 Quick fix for functional bug in getMARCsubjects to avoid returning values that
vary between different uses of the same authorised subject heading causing
linked subject searches from the detail view to fail.  Other presentation fixes
within getMARCsubjects.
2006-02-16 03:12:15 +00:00
rangi 24a52ae566 Back to using xml, a much better idea :) 2006-02-14 22:56:41 +00:00
kados 27cf7a36ba adding a 'use ZOOM' to biblio.pm, needed for non-mod_perl install.
also adding diagnostic error if not able to connect to Zebra
2006-02-14 21:36:03 +00:00
rangi 318ac26cf6 Just a little missing my
Seems to be working great Paul, and I like what you did with zebradb
2006-02-14 19:53:25 +00:00
tipaul ff0508c4d2 road to 3.0 : updating a biblio in zebra seems to work. Still working on it, there are probably some bugs ! 2006-02-14 11:25:22 +00:00
tipaul b69a6736cb (chris, read carefully)
Replacing zebraserver and zebraport by zebradb in koha.conf . The zebra connexion can be done in a single variable "server:port/database". I used this in dirty searchMarc.pm as well as in Biblio.pm. I've replaced your code in Search.pm
2006-02-14 11:23:38 +00:00
tipaul e16ded6012 fixing bugs for :
* search on 2 words "applied chaos"
* retrieve results when there's only 1 answer
(still dirty & to be rewritten by chris, but it's useful for me)
2006-02-14 10:54:02 +00:00
rangi cdfb9d9acb Work in progress still, committing for testing 2006-02-14 04:00:23 +00:00
rangi 85fba5d72f Just a little fix while im testing 2006-02-13 23:52:04 +00:00
rangi c2debcf509 Start of the complete rewrite of Search.pm
It just does a simple cql search at the moment, takes a hashref of keyed by variable.
I have introduced 2 new variables to koha.conf
zebraserver and zebraport Ill add to the installer to get these set.
Very very very much a work in progress still. Thanks to paul for getting things up to this point.
2006-02-13 21:03:21 +00:00
tipaul 040dbceb73 some modifs to enable search on old search API with zebra. seems to work, although it is 100% dirty code that should be rewritten by someone (chris ?)
I just hacked this to have a working search to continue working on Biblio.pm & catlaoguing
2006-02-13 16:35:37 +00:00
tipaul 685f77f4c2 fixing some warnings (perl -w should be quiet) 2006-02-13 16:34:26 +00:00
rangi 89eff456a2 Just getting rid of some annoying warnings 2006-02-09 21:34:51 +00:00
rangi bc51b60c26 Hmm there seem to be quite a few subroutines twice in this module....
Paul could you take a look and remove the ones that shouldnt be there please
2006-02-09 01:56:20 +00:00
rangi f08260c860 Cleaning up some unessecary my statements 2006-02-09 01:52:14 +00:00
tipaul 48c46ee5b7 removing useless script 2006-01-17 16:11:55 +00:00
tipaul 6b84ddf24c removing unused package 2006-01-17 16:09:50 +00:00
tipaul ae485ffef0 removing useless package & script 2006-01-17 16:08:25 +00:00
tipaul 59c9e65720 removing useless package 2006-01-17 16:06:54 +00:00
tipaul 296d6e3c41 removing useless sub 2006-01-17 16:06:43 +00:00
tipaul 4d5b2a4ced adding a XMLgetbiblio in Biblio.pm (1st draft, to use with zebra) 2006-01-10 17:01:29 +00:00
tipaul d5938493d7 synch'ing head and rel_2_2 (from 2.2.5, including npl templates)
Seems not to break too many things, but i'm probably wrong here.
at least, new features/bugfixes from 2.2.5 are here (tested on some features on my head local copy)

- removing useless directories (koha-html and koha-plucene)
2006-01-06 16:39:37 +00:00
tipaul c40f8c923f utf8 is a : go for beta test in HEAD.
some explanations :
- updater/updatedatabase => will transform all tables in innoDB (not related to utf8, just to warn you) AND collate them in utf8 / utf8_general_ci. The SQL command is : ALTER TABLE tablename DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci.
- *-top.inc will show the pages in utf8
- THE HARD THING : for me, mysql-client and mysql-server were set up to communicate in iso8859-1, whatever the mysql collation ! Thus, pages were improperly shown, as datas were transmitted in iso8859-1 format ! After a full day of investigation, someone on usenet pointed "set NAMES 'utf8'" to explain that I wanted utf8. I could put this in my.cnf, but if I do that, ALL databases will "speak" in utf8, that's not what we want. Thus, I added a line in Context.pm : everytime a DB handle is opened, the communication is set to utf8.
- using marcxml field and no more the iso2709 raw marc biblioitems.marc field.
2006-01-04 15:54:55 +00:00
thd 09d82dc0aa Reverse array filled with elements from repeated subfields
to avoid last to first concatenation of elements in Koha DB.-
2005-12-12 14:25:51 +00:00
tipaul af8f19ca56 code cleaning : removing useless package (everything needed copied in Accounts2.pm) 2005-10-27 12:10:00 +00:00
tipaul d9be1036aa new features for serial module :
- the last 5 issues are now shown, and their status can be changed (but not reverted to "waited", as there can be only one "waited")
- the library can create a "distribution list". this paper contains a list of borrowers (selected from the borrower list, or manually entered), and print it for a given issue. once printed, the sheet can be put on the issue and distributed to every reader on the list (one by one).
2005-10-27 12:08:44 +00:00
tipaul 73ef51958f road to normalization : changing API = removing getbranchname, replaced by getbranchdetail (should be getbranch, but this sub already exists and I don't understand what it does...) 2005-10-27 12:05:58 +00:00
tipaul b38997925f big commit, still breaking things...
* synch with rel_2_2. Probably the last non manual synch, as rel_2_2 should not be modified deeply.
* code cleaning (cleaning warnings from perl -w) continued
2005-10-26 09:11:02 +00:00
tipaul 61c133ca31 code cleaning : removing useless package (everything needed copied in Accounts2.pm) 2005-10-26 08:29:28 +00:00
joshferraro aa14e3e2d1 Previously there was no check to make sure that an issn number
actually existed; so if there was no isbn, and the issn was blank,
the item would be assigned a random biblionumber and the breeding farm
would report that the item already exists in the catalog (even though
it didn't). This fix adds a check to determine whether the imported
record has an issn before assigning a matching biblionumber.
2005-09-30 18:58:25 +00:00
rangi 2dbb13abd4 Marks the item borrowed now on the items table 2005-09-22 23:30:37 +00:00
tipaul 3a3f9bbb47 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 15:31:05 +00:00
tipaul e82eca42c9 see mail on koha-devel : code cleaning on Search.pm + normalizing API + use of biblionumber everywhere (instead of bn, biblio, ...) 2005-09-22 10:01:45 +00:00
rangi af49cab023 Fixing typo channing ' to " so the title is stored in accountlines not $title 2005-09-06 05:34:52 +00:00
tipaul 830ba65a20 moving NewBorrowerNumber sub to Members package 2005-09-05 19:27:21 +00:00
tipaul b897d55f23 moving findguarantor sub to Members package 2005-09-05 19:26:08 +00:00
tipaul af0ff4419f removing findguarantee, that is also in Members.pm 2005-09-05 19:24:38 +00:00
rangi 4148d0ace6 Modified module to no longer use Date::Manip, not as powerful, but a lot faster. 2005-09-03 00:54:23 +00:00
rangi 5d816bf4ba This is currently a copy of C4::Date
But C4::Date uses Date::Manip, which in the authors own words

"If you look in CPAN, you'll find that there are a number of Date and Time packages.  Is Date::Manip the one you should be using?  In my
opinion, the answer is no most of the time."

He goes on to say, that because Date::Manip is powerful and is written fully in perl its also slow.
Now Circulation needs to be as fast as possible. And C4::Date isnt actually doing anything particularly tricky,
So im working on C4::Circulation::Date to be a replacement, in an attempt to win some speed
2005-09-03 00:35:47 +00:00
rangi 9796fc3b87 A work in progress still.
This module is for dealing with user submitted reviews of items
Currently it allows (with some scripts) a user to review any item on their reading record.
The review is marked unvetted, and a librarian must vette and approve the review before it can show to the public

The scripts to add/edit a review, and to display them for the opac are done.
The script to display a list of reviews waiting vetting for the librarians has also been done.
2005-09-03 00:05:40 +00:00
tipaul 1e6398ed4e continuing the work to move to zebra. Begin of work for MARC=OFF support.
IMPORTANT NOTE : the MARCkoha2marc sub API has been modified. Instead of biblionumber & biblioitemnumber, it now gets a hash.
The sub is used only in Biblio.pm, so the API change should be harmless (except for me, but i'm aware ;-) )
2005-09-02 14:34:14 +00:00
tipaul 2ba136efd2 removing branches sub, that should be in Koha.pm package (generic sub) 2005-09-02 14:30:28 +00:00
tipaul 07ea313528 new feature : image for itemtypes.
* run updater/updatedatabase to create imageurl field in itemtypes.
* go to Koha >> parameters >> itemtypes >> modify (or add) an itemtype. You will see around 20 nice images to choose between (thanks to owen). If you prefer your own image, you also can type a complete url (http://www.myserver.lib/path/to/my/image.gif)
* go to OPAC, and search something. In the result list, you now have the picture instead of the text itemtype.
2005-09-02 14:28:38 +00:00
rangi d2b2eb603b Fix for loanlength to make the default length work properly 2005-08-31 23:11:19 +00:00
rangi a39bfaf75d fixing unfilledreserves 2005-08-25 23:15:34 +00:00
hdl 2dbb086c46 Adding a note field in serial table.
This will allow librarian to mention a note on a peculiar waiting serial number.
2005-08-24 08:49:03 +00:00
szrj1m a70de3cbde &getcredits now returning 'BAY' and 'WORK' type credits too. 2005-08-22 01:05:49 +00:00
szrj1m 621e60b86e Added &getcredits routine. 2005-08-19 00:38:33 +00:00
szrj1m 41d7e8a44c UpdateStats is now being passed $accountno. 2005-08-18 21:15:20 +00:00
tipaul 4fa499f055 removing itemcount sub, that is already in Biblio.pm 2005-08-12 13:52:28 +00:00
tipaul ba3339c4e8 searching with the zebra.
replacing 2.2 marc search by a Net::z3950 search (waiting for Perl/Zoom)
works only for title/author/isbn search, any other search is considered as 'keywork search' (=anywhere
2005-08-12 13:51:48 +00:00
tipaul 56e5773f9d removing useless sub declarations 2005-08-12 13:50:31 +00:00
tipaul 35e4cf543c was a test for inverted indexes. Useless we have choosen zebra 2005-08-12 13:39:51 +00:00
tipaul 0275f18980 removing useless package 2005-08-12 13:39:04 +00:00
tipaul 9a508fe3df Playing with the zebra...
* go to koha cvs home directory
* in misc/zebra there is a unimarc directory. I suggest that marc21 libraries create a marc21 directory
* put your zebra.cfg files here & create your database.
* from koha cvs home directory, ln -s misc/zebra/marc21 zebra (I mean create a symbolic link to YOUR zebra directory)
* now, everytime you add/modify a biblio/item your zebra DB is updated correctly.

NOTE :
* this uses a system call in perl. CPU consumming, but we are waiting for indexdata Perl/zoom
* deletion still not work
* UNIMARC zebra config files are provided in misc/zebra/unimarc directory. The most important line being :
in zebra.cfg :
recordId: (bib1,Local-number)
storeKeys:1

in .abs file :
elm 090            Local-number            -
elm 090/?          Local-number            -
elm 090/?/9        Local-number            !:w

(090$9 being the field mapped to biblio.biblionumber in Koha)
2005-08-11 16:12:47 +00:00
tipaul 19e29e9245 * POD documenting
* removing useless subs
* removing some subs that are also elsewhere
* renaming all OLDxxx subs to REALxxx subs (should not change anything, as OLDxxx, as well as REAL, are supposed to be for Biblio.pm internal use only)
2005-08-11 14:37:32 +00:00
tipaul 07a3e4c8fb just removing useless subs (a lot !!!) for code cleaning 2005-08-11 09:13:28 +00:00
tipaul 6f16f25d3a Ok guys, this time, it seems that item add and modif begin working as expected...
Still a lot of bugs to fix, of course
2005-08-11 09:00:07 +00:00
hdl 18a6bad8ab Minor display changes.
Now displaying publicationyear.
And biblio information in One cell.
2005-08-10 14:22:48 +00:00
hdl 27c2d1a72e Bug fixing on query getlateorders.
Adding subtotal.
Changing information display orders.
next work is pretty printing.
2005-08-10 10:22:57 +00:00
tipaul 139d01cf13 continuing the road to zebra :
- the biblio add begins to work.
- the biblio modif begins to work.

(still without doing anything on zebra)
(no new change in updatedatabase)
2005-08-10 10:21:14 +00:00
hdl 3a48682514 Adding lateorders page.
It provides the user with the list of items that have been ordered for a delay and are NOT yet received.
The user may filter by supplier or branch or delay.
This page is still under developpement.
Goal is to make it ready to print to reorder the books.

2 new functions have been written in Acquisition module :
getsupplierlistwithlateorders
getlateorders

branches has been modified to manage branch independancy.
Request for comment.
STILL UNDER developpment
2005-08-09 14:13:27 +00:00
tipaul 4cf30123a4 1st commit to go to zebra.
don't update your cvs if you want to have a working head...

this commit contains :
* updater/updatedatabase : get rid with marc_* tables, but DON'T remove them. As a lot of things uses them, it would not be a good idea for instance to drop them. If you really want to play, you can rename them to test head without them but being still able to reintroduce them...
* Biblio.pm : modify MARCgetbiblio to find the raw marc record in biblioitems.marc field, not from marc_subfield_table, modify MARCfindframeworkcode to find frameworkcode in biblio.frameworkcode, modify some other subs to use biblio.biblionumber & get rid of bibid.
* other files : get rid of bibid and use biblionumber instead.

What is broken :
* does not do anything on zebra yet.
* if you rename marc_subfield_table, you can't search anymore.
* you can view a biblio & bibliodetails, go to MARC editor, but NOT save any modif.
* don't try to add a biblio, it would add data poorly... (don't try to delete either, it may work, but that would be a surprise ;-) )

IMPORTANT NOTE : you need MARC::XML package (http://search.cpan.org/~esummers/MARC-XML-0.7/lib/MARC/File/XML.pm), that requires a recent version of MARC::Record
Updatedatabase stores the iso2709 data in biblioitems.marc field & an xml version in biblioitems.marcxml Not sure we will keep it when releasing the stable version, but I think it's a good idea to have something readable in sql, at least for development stage.
2005-08-09 14:10:27 +00:00
tipaul 190d05b00e minor (graphic) changes in log viewer 2005-08-08 09:11:54 +00:00
hdl 787c184dc7 Code necessary for IndependantBranches parameter to work. Should have been committed sooner...
Modify Histsearch and getorders to respect branches of librarian.
2005-08-08 08:42:32 +00:00
tipaul 3897417124 adding some fields available for Letters 2005-08-05 15:50:46 +00:00
tipaul 735487d1e6 removing my own adress as "From" ;-) 2005-08-05 14:48:52 +00:00
tipaul 791e786944 2 new features :
- a mail is sent everytime an issue if recieved in serial module. The mail is sent to all borrowers that have put an alert on the subscription (remember that you can put an alert only if the librarian have defined a "letter" as mail to send)
- the librarian can see, for a given subscription, who has put an alert.
2005-08-05 14:47:23 +00:00
tipaul 2605a20610 adding emailaddress to user context.
Now, we can use userenv->{emailaddress} to get the librarian email address everywhere.
2005-08-05 14:43:44 +00:00
tipaul e218294c2c fixing a bug in synch 2005-08-04 14:35:54 +00:00
tipaul 2cd0bc1da8 synch'ing 2.2 and head 2005-08-04 13:27:37 +00:00
tipaul df6c6bcada Letters / alert system, continuing...
* adding a package Letters.pm, that manages Letters & alerts.
* adding feature : it's now possible to define a "letter" for any subscription created. If a letter is defined, users in OPAC can put an alert on the subscription. When an issue is marked "arrived", all users in the alert will recieve a mail (as defined in the "letter"). This last part (= send the mail) is not yet developped. (Should be done this week)
* adding feature : it's now possible to "put to an alert" in OPAC, for any serial subscription. The alert is stored in a new table, called alert. An alert can be put only if the librarian has activated them in subscription (and they activate it just by choosing a "letter" to sent to borrowers on new issues)
* adding feature : librarian can see in borrower detail which alerts they have put, and a user can see in opac-detail which alert they have put too.
Note that the system should be generic enough to manage any type of alert.
I plan to extend it soon to virtual shelves : a borrower will be able to put an alert on a virtual shelf, to be warned when something is changed in the virtual shelf (mail being sent once a day by cron, or manually by the shelf owner. Anyway, a mail won't be sent on every change, users would be spammed by Koha ;-) )
2005-08-04 08:54:54 +00:00
hdl 0960f3245c Removing some unuseful warns.
Adding an error management for memberentry : Branch.
2005-07-29 16:14:37 +00:00
hdl 1b11e86c9e Some Bug Fixes 2005-07-28 15:40:52 +00:00
tipaul 3df7bdc5d3 For instance, the return date does not rely on the borrower expiration date. A systempref will be added in Koha, to modify return date calculation schema :
* ReturnBeforeExpiry = yes => return date can't be after expiry date
* ReturnBeforeExpiry = no  => return date can be after expiry date
2005-07-28 08:38:15 +00:00
hdl 5d22c28ea2 Implementing Independancy Branches management :
- Trying to get a basket not owned by so of his own branch leads to mainpage.
- Lists onlys ths baskets owned by someon of user's brach.

Auth.pm now sends a cookie with userenv informations.
2005-07-28 07:52:02 +00:00
hdl 7bd7c514e4 Adding branch Independancy support for searchsugestion. 2005-07-26 17:01:11 +00:00
hdl 31fca3dfd2 Bug Fixing for independantBranches support.
Addign a Cookie containing user specific vars such as :
branch,
firstname,
surname,
cardnumber...
may be criticized from a lawyer point of view, since name and surname are given.
But the real need is for userid and branch.
And it is achieved.
Auth passes now TWO cookies :
a session cookie
And an environment cookie.
2005-07-26 15:58:47 +00:00
tipaul b8e4963f90 some bugfixes, but still don't work correctly 2005-07-26 10:12:48 +00:00
hdl 5fa6925444 Adding Branch Independancy.
Still under development.
2005-07-26 07:50:27 +00:00
hdl 552d398bf7 Adding page to display log views.
can be called by admin/viewlog.pl
Works with C4/Log.pm
uses action_logs table
2005-07-20 16:09:03 +00:00
hdl e4a19baab6 Adding an object field to action_logs.
+ Minor Correction to updatedatabase
Changing Activate_Log from choice to YesNo Variable.
2005-07-19 16:48:15 +00:00
slef f0fefb2ec0 Add start of 2.3 installer. Remove obsolete? files conflicting with 2.3 installer 2005-07-18 16:38:57 +00:00
hdl bec1be7090 Adding Log Facility.
Needs Two Update in database...
On more table (action_logs)
And One more syspref Activate_Log, with On|Off values.
Maintainance has been sweeped of previous Log functions
addbiblio.pl contains a sample of code using Log.pm
To be generalized to Authorities, acquisitions, members soon.
2005-07-15 16:10:31 +00:00
hdl ec94689218 Adding a log facility for actions watching.
Code to be widely used in order to report data modifications.
2005-07-14 09:53:10 +00:00
hdl 2950574dd6 Adding branch specific display to budgets and selection.
Be warned that to be able to select a budget which is not from patron's Branch, you should have a '' Branch information.
2005-07-14 09:13:24 +00:00
hdl 979940ecba Modifying branch Selection : Now Superlibrarians are always able to see ALL branches budget, not simple librarians. 2005-07-12 13:59:38 +00:00
genjimoto 91fe8eb8e0 New code making a search not needing to use tables not already used in searching.. doesn't take longer than normal. Achieved via new parameter in Catalogsearch called $extratables. 2005-06-25 05:35:29 +00:00
hdl 02c6eacdb7 Adding scrolling list for sort1 and sort2 2005-06-22 09:36:24 +00:00
tipaul 6b0ee5525b synch'ing 2.2 and head 2005-06-20 14:10:00 +00:00
hdl 27ce1d1c23 Detailing the three latest issues on OPAC for serials 2005-06-17 13:44:25 +00:00
hdl b7946b72e2 Adding 2 status to serial issues :
- delete : to delete the current issue
	- not issued : to distinguish missing from not issued serial number.
2005-06-16 19:10:09 +00:00
hdl 7fd0a58305 Displaying dashed isbn. 2005-06-15 16:09:42 +00:00
hdl 1d4d3bdaef Deleting joined tables without condition.
Issues, reserves, items.
Major Bug fixed : Catalogsearch would work no more.
2005-06-15 13:21:22 +00:00
tipaul 33112dda50 adding $b to mainentry (in UNIMARC, for personal names, $a is the surname, $b is the firstname) 2005-06-07 10:00:47 +00:00
rangi 0c376c1c03 Fix for a bug in full acquisitions basket.pl
Ordernumber not showing
2005-06-06 23:29:36 +00:00
gmccullagh dfb739be5a two new files
SearchBiblio.pm forked from SearchMarc.pm
  opac-search-biblio.pl forked from opac-search.pl (just change module)
an attempt at a new search using FULLTEXT indexes.
NB: Boolean won't work without MySQL >v4.0
NNB: Will be slow without indexes added on Biblio table as follows:
  ALTER TABLE biblio ADD FULLTEXT (author,title,unititle,seriestitle);
Only searching on "Any word" field just now.
more to come.
2005-06-03 17:01:53 +00:00
genjimoto 09aec48554 Added necessary tables for search for availablity feature into Catalogsearch. Someone needs to speed it up somehow. 2005-06-03 03:58:26 +00:00
genjimoto 8e62940ba0 New Feature: catalogsearch() has a new parameter, $sqlstring. A developer puts into it whatever they want to tack onto the end of the where statement. See usage in opac-search.pl 2005-06-01 21:18:39 +00:00
genjimoto a54fa6ac52 patch from Genji (Waylon R.) to update subjects in MARC tables when systempref has MARC=OFF 2005-06-01 20:43:58 +00:00
tipaul e2d56f0f49 some fixes & improvements for dictionnary search in librarian interface 2005-06-01 12:51:02 +00:00
tipaul 41c209a4bd proof of concept for inverted index tables for search
how it works :
* create the table marc_Tword with the following structure :
CREATE TABLE `marc_Tword` (
  `word` varchar(80) NOT NULL default '',
  `usedin` text NOT NULL,
  `tagsubfield` varchar(4) NOT NULL default '',
  PRIMARY KEY  (`word`,`tagsubfield`)
) TYPE=MyISAM;
* open a console & type export PERL5LIB & export KOHA_CONF as usual.
* fill this table with misc/build_marc_Tword.pl. Warning, this script uses a very very consumming but very fast method to fill the table : it does everything in memory, then write everything. Another method is provided (& commented), but it's 100x times slower (really !)
* open opac-search.pl and replace use C4::SearchMarc; by use C4::SearchMarcTest; as the API hasn't changed, it will work immediatly.
* go to opac-search (advanced search) & search whatever you want. Should work fine.

LIMITS :
* build_marc_Tword has problem with extended chars (accented ones mainly). So don't be afraid if you get sql errors. They are not a problem for a POC
* search works always order by title, whatever you choose.
* search works only search WORDA and WOARDB, not yet WORDA or WORDB or WORDA except WORDB.
2005-05-27 09:30:23 +00:00
rangi 18b2cfe08a Removing old print statement 2005-05-15 04:35:36 +00:00
rangi 0edd65bfc8 More little changes to remove warns 2005-05-15 04:34:09 +00:00
rangi abf3b05898 Another little error that was throwing annoying warns 2005-05-14 22:26:07 +00:00
rangi 1e1929be43 Fixing a line that was throwing up warnings when running the script with -w 2005-05-14 22:20:17 +00:00
rangi 7aa3844555 Commenting out warn call
Im working on a curses circulation module, and this warn was smearing output
to the screen.
2005-05-14 22:05:44 +00:00
tipaul 369527637b synch'ing 2.2 and head 2005-05-04 15:39:07 +00:00
hdl a65bbe2598 adding Marc Record to authoritysearch report 2005-05-04 14:18:39 +00:00
joshferraro 47e3d8667b Fixes bug 970: renewing book from issues screen. 2005-05-03 19:39:20 +00:00
doxulting 61b81d56bf The search query was returning all records when was empty 2005-04-15 14:31:51 +00:00
hdl 14a0c6c133 Scanning every the Subfields of auth_tag_to_report for FindDuplicate 2005-04-05 17:07:46 +00:00
hdl b605f4d26a Searching for double entries when adding a new authority. 2005-04-05 15:23:40 +00:00
hdl 4ff9cae64b Adding double authority search before creating a new authority 2005-04-05 09:58:47 +00:00
doxulting b9a8342843 New param for the template in order to show only allowed links to user (In parameters screen only right now) 2005-03-23 09:25:20 +00:00
tipaul 4a8159b457 oups, sorry, synch'ing badly (dropping a doXulting improvement : selecting either desc or asc order) 2005-03-07 09:09:03 +00:00
tipaul 1923629300 synch'ing with 2.2 2005-03-07 08:55:29 +00:00
doxulting ec62b5e32a Added a param to catalogsearch to allow selection of order (ASC or DESC) 2005-03-03 09:32:04 +00:00
tipaul 93ff09d081 merging 2.2 branch with head. Sorry for not making it before, many many commits done here 2005-03-01 13:40:35 +00:00
slef 9324f8683a Small quoting fix to let fine calculation work. 2005-03-01 03:08:00 +00:00
joshferraro 34a1079256 fix for bug 937 2005-02-22 22:40:15 +00:00
joshferraro 86197b08b8 Fix for bug 920. The problem was that getMARCnotes had the variable set to be the same as the
loop name.
2005-02-22 22:38:21 +00:00
joshferraro c24f2bdb6b Added some minimal docs to Amazon.pm 2005-01-25 17:23:33 +00:00
joshferraro 18140e04dc The Amazon module allows libraries to deliver amazon content to the opac 2005-01-25 16:53:28 +00:00
tipaul 5edf04fd6b improvement of speed for bulkmarcimport.
A sub had been forgotten to use the C4::Context->marcfromkohafield array, that caches DB datas.
this is only a little improvement for normal DB modif, but almost x2 the speed of bulkmarcimport... from 6records/seconds to more than 10.
2005-01-06 14:32:17 +00:00
tipaul cb32ef4fc1 adding "opacstylesheet" systempreference.
if this parameter is defined, the url is used instead of the default one.
So, you can have your own stylesheet somewhere, and use it instead of the official Koha one.
2005-01-03 10:58:46 +00:00
tipaul 5aa60ee667 * bugfix for the search on a MARC detail, when you clic on the magnifying glass (caused an internal server error)
* partial support of the "linkage" MARC feature : if you enter a "link" on a MARC subfield, the magnifying glass won't search on the field, but on the linked field. I agree it's a partial support. Will be improved, but I need to investigate MARC21 & UNIMARC diffs on this topic.
2005-01-03 10:48:33 +00:00
tipaul 4510951cfc Minor changes in summary "exploding" (the 3 digits AFTER the subfield were not on the right place). 2004-12-23 09:48:11 +00:00
tipaul f72a2ceb5f adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf name & status
2004-12-16 11:30:57 +00:00
tipaul 0d8e203523 adding bookshelf features :
* create bookshelf on the fly
* modify a bookshelf (this being not finished, will commit the rest soon)
2004-12-15 17:28:22 +00:00
tipaul 52a123a1a4 fix for :
http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=858

* added a button to cancel issue
* adding checkbox to cancel reserve on the book (checked by default)
* the cancelation reserve is done on reserves done for a given item or for any item

Nelsonville, pls test & confirm it's OK
2004-12-15 10:47:09 +00:00
rangi 9cd423cbb4 Making the version number reflect the cvs version, to allow for easier
debugging.
If we can ask people what version of a module they are running it makes
error checking easier
2004-12-15 06:08:06 +00:00
tipaul e54459b763 an improvement has been done in DB calls that needs a new index. It's automatically added in fresh installs, but for updates, run the following SQL command :
ALTER TABLE `marc_subfield_structure` ADD INDEX ( `kohafield` )
2004-12-14 15:48:34 +00:00
tipaul 7de6ee8e75 limiting the number of search term to 8. There was no limit before, but 8 words seems to be the upper limit mySQL can deal with (in less than a second. tested on a DB with 13 000 items)
In 2.4, a new DB structure will highly speed things and this limit will be removed.
FindDuplicate is activated again, the perf problems were due to this problem.
2004-12-10 16:27:53 +00:00
tipaul 013ae858cd * fixing "start by" operator
* in biblio search, - and other signs where not properly managed. Leroy-Beaulieu could not be found
2004-12-08 10:21:46 +00:00
tipaul b49f397528 * desactivate FindDuplicate
* fix from Genji
2004-12-08 10:14:42 +00:00
tipaul 93e3f0411f fix for "marc upload fail silently" (from MJRay) 2004-12-08 10:11:51 +00:00
tipaul e89e322f6b removing useless comment 2004-12-08 10:08:41 +00:00
tipaul 56ab39361e fixes from A. Tarallo, for mod_perl compliance 2004-12-03 16:50:39 +00:00
tipaul 2db99e1dd5 adding "show me late issues" screen 2004-12-03 14:34:54 +00:00
oleonard 98357d148a Fix to get returns to update "datelastseen" value with today's date 2004-11-29 17:29:37 +00:00
rangi 1ce34b32b3 Fix for bug 865
Allows a librarian to tell Koha you want to start issuing to a new borrower
by entering no data. Essentiall by just hitting the enter  key
2004-11-28 08:32:36 +00:00
tipaul 629a207dcb removing useless &branches in package declaration 2004-11-25 17:39:44 +00:00
tipaul 962584cbaa removing sub branches (commited by chris for MARC=OFF bugfix, but sub branches is already in Acquisition.pm) 2004-11-24 16:00:01 +00:00
tipaul 23881a317e * critical fix for acquisition (see RC3 release notes) 2004-11-24 15:59:15 +00:00
tipaul caf9b3c04b * critical fix for acquisition (see RC3 release notes)
* critical fix for duplicate finder
2004-11-24 15:58:31 +00:00
tipaul 1c16a1ee91 commiting modif already in RC2 (bug in breeding import) 2004-11-24 15:55:31 +00:00
rangi 7e1f5ce84b Shifting branches() from deprecated C4::Catalogue to C4::Biblio
Allowing the non marc interface acquisitions to work.
2004-11-19 19:41:22 +00:00
tipaul 661080d2fd fixing but to remove "request" link on "notforloan" materials 2004-11-18 10:34:24 +00:00
tipaul 1424addcc2 fix for bug 858 (no warning when issuing a reserved book) 2004-11-18 10:32:39 +00:00
tipaul a47bdb1f57 suggestion from owen to add classification to isbn query 2004-11-12 17:26:24 +00:00
tipaul 8986960a12 removing useless warn & renaming a sub that can probably be removed 2004-11-08 19:49:45 +00:00
tipaul d1c7377cf1 Improving FindDuplicate to find duplicate records on adding biblio 2004-11-05 10:15:27 +00:00
tipaul 2a1ae77f5e Auth.pm with LDAP
perldoc Auth_with_ldap.pm to see how to set it
2004-11-05 10:13:31 +00:00
tipaul 5a612e176c remove LDAP dependancy, replaced by auth_with_ldap.pm 2004-11-05 10:12:27 +00:00
tipaul 0b4c153905 export auth_count_usage (bugfix) 2004-11-05 10:11:39 +00:00
tipaul 8f0ca2ceb7 Limit search to 30 days when the order is by acquisition date desc (ie when the user want to see new books) 2004-11-05 10:10:48 +00:00
rangi 998cc6bc2b Fixing bug that was stopping subject maintenance working 2004-11-05 00:08:22 +00:00
tipaul 5663435076 new feature : checking for duplicate biblio.
For instance, it's only done on ISBN only. Will be improved soon.

When a duplicate is detected, the biblio is not saved, but the user is asked for a confirmations.
2004-11-02 16:44:45 +00:00
tipaul 2b27da1e06 bugfix : using concat instead of + to merge field & subfield. Otherwise, when the subfield is a number, it's a numeric addition that is done !!! 2004-10-27 08:11:44 +00:00
tipaul 4eb5fd5a4c rewritting item status checking : now, each item is shown with it's callnumber and status (available, on loan,...) 2004-10-25 09:38:00 +00:00
tipaul 2eda32b247 adding search orders history feature 2004-10-19 12:24:56 +00:00
tipaul 89dea6f3ec Adding possibility to order the basket by :
* publishercode
OR
* budget then publishercode
2004-10-05 09:22:16 +00:00
tipaul 2cc3037397 adding getmember sub to the package (the Search.pm/borrdata should be removed, it has nothing to do here) 2004-10-04 20:19:08 +00:00
tipaul b9a7f33601 * removing the hard coded $
* adding bookfund to the order list
2004-10-04 20:03:23 +00:00
tipaul e49f99e9db POD documenting 2004-09-23 16:16:24 +00:00
tipaul df00471f94 indenting diff 2004-09-23 16:15:37 +00:00
tipaul a78b5d16f5 Bugfix in modification 2004-09-23 16:12:35 +00:00
tipaul a9c5f50275 adding barcode generator to Koha 2004-09-20 15:03:27 +00:00
tipaul 315a8670f1 some changes in serial management :
* in subscription Add, the issue number & date is used to calculate the 1st issue (previously, a "next issue number & date" was applied, meaning you had to enter the number & date of a previous issue)
* the "inner loop" used for serials number ({XYZ}) is now shown & can be modified. The innerloop is used for numbering formulas saying "change the number once every 4 times".
2004-09-20 10:16:05 +00:00
tipaul 38c72dd374 enabling # (| still possible too) for repeatable subfields 2004-09-16 15:06:46 +00:00
tipaul 214c37b371 modifs in new acquisition option : the search is now managed through the standard search API, with an "order by timestamp" order.
opac-new.pl can be removed
2004-09-16 09:21:05 +00:00
tipaul f927e8eb36 bugfix for manually fixed duedate on issue. 2004-09-15 16:27:18 +00:00
tipaul a1c11c5784 bugfixes in order modif 2004-09-15 16:13:41 +00:00
tipaul e2a219b290 fixing bugs in issue renewal 2004-09-15 16:09:57 +00:00
tipaul 3ffcc8657d fix for circulation rules test : the default branch is "", not "*" (* is for "any borrowertype" and "any itemtype") 2004-09-14 12:37:04 +00:00
tipaul c0585cdeaf *** empty log message *** 2004-09-13 15:26:42 +00:00
tipaul 92decf23bf separating additional authors with - instead of a ,
a , can be used in french to separate name & surname
2004-09-13 15:25:38 +00:00
tipaul d9dcfbeb7a warn removes + fix for item count 2004-09-13 15:23:35 +00:00
tipaul 1af42ff447 bugfix for acquisitions 2004-09-13 15:21:59 +00:00
tipaul fa793e394a some commented warning added + 1 major bugfix => drop empty fields, NOT fields containing 0 2004-09-06 14:17:34 +00:00
tipaul 8d868bb448 adding a "location" field to the library.
This field is useful when the callnumber contains no information on the room where the item is stored.
With this field, we now have 3 levels of informations to find a book :
* the branch.
* the location.
* the callnumber.

This should be versatile enough to solve any storing method.
This hack is quite simple, due to the nice Biblio.pm API. The MARC => koha db link is automatically managed. Just add the link in the parameters section.
2004-09-06 10:00:19 +00:00
shedges f3e5fcd15d Fix bug 789 (in HEAD) 2004-09-05 22:33:12 +00:00
shedges 686a41a71c Minor changes to add classification data to return array from loose search. 2004-09-04 13:48:27 +00:00
tipaul 1edf59efe5 road to a better member management code.
Useful for LDAP integration
2004-09-02 16:27:09 +00:00
tipaul a115863f93 some fixes for LDAP (more to come) 2004-09-02 16:25:20 +00:00
tipaul 56825e415f modularizing (with Members.pm) members management
(beginning of...)
2004-08-30 13:48:58 +00:00
tipaul 6693f707b3 removing useless package 2004-08-30 13:22:46 +00:00
tipaul 4d23559149 fixing bug (dbh error in error log, even if the result was OK) 2004-08-20 09:14:07 +00:00
tipaul 2580ddc726 fixing a complex bug : the last results didn't have callnumber informations. Had to rewrite algorythm for building the result array. 2004-08-20 08:19:52 +00:00
tipaul 8790983cd5 commiting stephen hedges modifs to css template & fixing a bug in variable name (same name in TMPL_LOOP and TMPL_VAR confuses a lot HTML::Template) 2004-08-18 16:44:37 +00:00
tipaul 75e8b810e8 minor reindentings 2004-08-18 16:02:26 +00:00
tipaul 2e18684cde modifs to support frameworkcodes 2004-08-18 16:01:37 +00:00
tipaul 9cfafb870e fixes for authorities management 2004-08-18 16:00:24 +00:00
tipaul ab39e57393 fixes in circulation module 2004-08-18 15:52:14 +00:00
shedges 1e02b5b4aa added getMARCnotes and getMARCsubjects functions. 2004-08-17 20:53:34 +00:00
tipaul b2d3fe1ccb moving language chooser to the main page.
moving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm

moving changelanguage.pl to OPAC scope
2004-08-16 12:49:42 +00:00
tipaul 502ab11ae9 moving language chooser to the main page.
monving the getalltemplates and getalllanguages subs out from Search.pm (that will be deprecated soon) to Koha.pm
2004-08-16 12:48:52 +00:00
rangi e334c8699f Commiting a sample change to the default template to allow users to pick
their language.
Just a sample template builders can look at this and make changes to their
templates
2004-08-15 01:50:24 +00:00
tipaul 37d454a82a adding frameworkcode to API in some subs 2004-08-13 16:37:25 +00:00
tipaul c93369dc4a patch from A. Tarallo (for differents DB schemes) 2004-08-13 09:13:14 +00:00
tipaul 26b2374cd4 bugfix 2004-08-12 14:36:44 +00:00
tipaul 716d4a4e18 serials : lot of bugfixes.
Works fine now. And is documented (clic Help)
2004-08-12 14:36:07 +00:00
tipaul 1e33d3ca1a changing DB structure to calculate next issue number.
Seems to work fine.

Still misses the date calculation & the test of end of subscription (maybe for monday ?)
2004-08-06 16:38:41 +00:00
tipaul 8e5b1d4792 reordering code & debugging 2004-08-05 16:34:41 +00:00
doxulting 637a78a5c1 The XYZ funcs for serials seqs 2004-07-30 14:01:48 +00:00
doxulting f122180117 Beginning of serial commit 2004-07-30 13:54:27 +00:00
rangi 64a6d5d756 Contains the function to get the language template, and set the cookie 2004-07-16 21:15:26 +00:00
rangi 3cd76eef0c Code to set a cookie which stores which language is displayed to the user 2004-07-16 00:36:56 +00:00
tipaul 3e0a132171 * removing useless sub
* minor bugfix in moditem (managing homebranch & holdingbranch)
2004-07-15 09:48:10 +00:00
tipaul f29ce59691 Acquisition & Suggestion :
* acquisition rewritte : create a aqbasket table to deal with "bookseller order header".
* add "close basket" feature : a closed basket can't be modified
* suggestion feature : manage suggestions in acquisition (after suggestion filled in OPAC)
2004-07-15 09:41:03 +00:00
tipaul 6376aa4326 catalogue.pm deals only with acquisitions.
so, renaming it...
catalogue management is done in Biblio.pm package
2004-07-13 12:52:13 +00:00
doxulting e737c7eb1d First step for working authorities 2004-07-05 13:37:22 +00:00
tipaul 73de15b3ff Adding 2 new fields, called "sort1" and "sort2"
They can be used for sorting & statistics reasons by the library.
2004-07-02 15:55:06 +00:00
tipaul a043d6de11 bugfix (due to frameworkcode field) 2004-07-02 15:53:53 +00:00
tipaul f3547ff1c8 last sync for 2.1.0 release 2004-06-29 16:07:09 +00:00
doxulting fd8ae64752 Debugged issuing rules n01 2004-06-29 13:02:34 +00:00
rangi 09c2a88e02 Fixing modaddauthor, and adding getitemtypes.
Also tidying up formatting of code
2004-06-26 23:19:59 +00:00
tipaul 11846f098d some improvements in SearchMarc 2004-06-22 15:33:30 +00:00
tipaul e801c22701 removing % at the beginning of a string to avoid loooonnnngggg searchs 2004-06-22 11:35:37 +00:00
tipaul 54d9bfeeb6 changes in search method :
- supporting * and % on words (* is replaced by %)
- removing % when the word is 3 or less letters
2004-06-22 08:39:22 +00:00
tipaul cc5e837309 bugfixes in circulation 2004-06-17 08:17:39 +00:00
tipaul b6cc6680dc merging tag & subfield in marc_word for better perfs 2004-06-17 08:16:32 +00:00
tipaul ea807900bf merging tag & subfield in auth_word for better perfs 2004-06-17 08:02:13 +00:00
joshferraro 0a97a432ee Changes MARCaddword to index words >= 1 char ... needed for more accurate
searches using SearchMarc routines.
2004-06-11 15:38:06 +00:00
joshferraro a0f310eb19 Fixes problems with searching using terms that contain ' and , by
stripping them out and replacing with a space ... line 115
2004-06-11 14:01:28 +00:00
tipaul e7e930ab39 MARC authority management (continued) 2004-06-10 08:28:40 +00:00
tipaul cf90808dd5 MARC authority management package 2004-06-07 07:35:01 +00:00
tipaul 83901a889f adding bibid to the result list 2004-06-03 10:06:27 +00:00
tipaul 12b49ff84b removing unused code 2004-06-03 10:02:08 +00:00
tipaul 5f4179a6c3 * frameworks and itemtypes are independant
* in the MARC editor, showing the + to duplicate a tag only if the tag is repeatable
2004-06-03 09:59:36 +00:00
tipaul 1a5963a30a minor fixes (odd/even lines bug) 2004-05-28 16:14:40 +00:00
tipaul e651ebf89f adding suggestions in OPAC 2004-05-28 08:28:22 +00:00
tipaul 08892f4eec adding authtype management (MARC authority types) 2004-05-28 08:26:57 +00:00
tipaul 59ae3d902f hidding hidden & isurl constraints into MARC subfield structure 2004-05-28 08:24:14 +00:00
rangi b98c3aa573 Fix for bug 787 2004-05-27 21:47:21 +00:00
doxulting d849d360a7 This time we only check books that borrowers still have 2004-05-24 14:20:15 +00:00
doxulting 8268330561 Premier commit JB34. Verification du nombre maximum de livre a emprunter. 2004-05-24 12:14:38 +00:00
tipaul 88e67b8d3e framework management : 1 MARC framework for each itemtype 2004-05-18 15:22:10 +00:00
tipaul 9ac07b38be getitemtypes moved in Koha.pm 2004-05-18 11:54:07 +00:00
tipaul ec64f1fcd8 Marc search ported to OPAC.
seems to work fine
2004-05-10 09:24:14 +00:00
tipaul a21293a475 adding LibraryName variable in the template 2004-05-10 09:23:32 +00:00
tipaul 694ad5d6fb removing unused subs 2004-05-04 16:17:19 +00:00
tipaul a4157fd8d2 continuing code cleaning & reordering 2004-05-04 16:15:56 +00:00
tipaul 5065cfa25c removing Renewals (all circ related subs are moved to Circ2.pm) 2004-05-04 15:46:01 +00:00
tipaul 6cc534a686 POD documenting & some improvements 2004-05-03 16:36:31 +00:00
tipaul 12d7e38cd5 copying printslip from circulation.pl 2004-05-03 09:26:12 +00:00
tipaul 12bfd66995 some fixes for mysql prepare & execute 2004-05-03 09:19:22 +00:00
tipaul 040bcdf92b CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:10:51 +00:00
tipaul b311b890d2 added param to checkaccount API 2004-05-03 09:04:49 +00:00
tipaul 21a379acda CIRCULATION : the big rewrite...
This 1st commit reorders deeply the circulation module.
The goal is to :
* have something 100% templated/translatable.
* have something easy to read & modify, to say to customers/users : you can define your circulation rules as you want if you accept to look in C4/Circ/Circ2.pm

The circulation now works :
1=> ask for the borrower barcode (as previously)
2=> ask for the item barcode.
3=> check "canbookbeissued". This new sub returns 2 arrays :
- IMPOSSIBLE : if something is here, then the issue is not possible and is not done.
- TOBECONFIRMED : if something is here, then the issue can be donc if the user confirms it.
4=> if TOBECONFIRMED is set : ask for confirmation, loop. if neither  are set or confirmation flag is set (2nd pass of the loop), then issue.

The IMPOSSIBLE & TOBECONFIRMED hashs contains :
* the reason of the line. always in capitals, with words separated by _ : BARCODE_UNKNOWN, DEBTS ... as key of the hash
* more information, as value of the hash ( TOBECONFIRMED{ALREADY_ISSUED} = "previous_borrower_name", for example)

This commit :
* compiles
* works on certain situations, not on other
* does NOT issue (the line is # )
* does not check issuing rules depending of # of books allowed / already issued

The next step is :
- check issuing rule.
- extend issuing rule to have a 3D array : for each branch / itemtype / borrowertype = issuing number and issuing length.
2004-05-03 09:02:12 +00:00
rangi 5178337784 Fix for bug 752 2004-04-28 09:09:27 +00:00
tipaul a2f1bf834f improving Search :
* adding "suggestion", that popup a windows. The popup windows shows, for each word entered in the search form, the 10 words that sounds like the word entered, and that are used most often.
* fixes some minor bugs

Still to do :
* good support of ' and ,
2004-04-16 07:28:22 +00:00
tipaul 287e08803a bugfix => escaping correctly values in SQL 2004-04-14 19:45:48 +00:00
tipaul 207cfeb5b3 renaming items.bulk field to items.itemcallnumber.
Will be used to store call number for libraries that don't use dewey classification.
Note it's related to ITEMS, not biblio.
2004-04-02 14:55:47 +00:00
joshferraro 01458df59c Make isbn search on existing records looser (to allow for MARC isbn data)." 2004-03-28 16:04:47 +00:00
joshferraro e85cf7756f Fixes Bug 763 (Location will not change) replaced:
$dbh->do("UPDATE items holdingbranch = $tbr WHERE   items.itemnumbe$
        &itemseen($itm);
	with:
$dbh->do("UPDATE items set holdingbranch = $tbr WHERE   items.itemnumbe$
        &itemseen($itm);
2004-03-24 21:06:48 +00:00
joshferraro 53272f3dad Fixes bug 749 by removing the comma on line 1488. 2004-03-24 17:18:30 +00:00
tipaul f49bd9a544 bugfixes for newsearches 2004-03-24 10:44:48 +00:00
rangi bb69d41e7b Fix for bug 761
Ill commit this to the rel-2-0 branch as well
2004-03-24 00:36:07 +00:00
tipaul 097e2d5718 bugfix : a missing } was placed at a wrong place. The auth did not work anymore... 2004-03-19 15:07:29 +00:00
tipaul 9d263d065b replaced by Reserves2 2004-03-17 15:59:39 +00:00
tipaul fe1f0d563f removed : already exist in Circ2.pm 2004-03-17 15:55:27 +00:00
tipaul 072205a5d7 useless : replaced by Circ2.pm it seems 2004-03-17 15:53:09 +00:00
tipaul c45548257d removing Returns, that is useless 2004-03-17 15:48:28 +00:00
tipaul baf896c940 removing unused package 2004-03-17 15:16:58 +00:00
joshferraro 7684b9caf5 fixed missing } at EOF 2004-03-16 20:29:04 +00:00
rangi 8b84c25809 Fixing some bogus sql 2004-03-15 20:24:13 +00:00
tipaul f981c4c15f introducing new features :
* search on non marc fields : the marc field is found by a sub in Biblio.pm
* ordering a search

This commit shows the sql in log. Pls test it's correctly indexed (using : explain <sql_in_log>)
2004-03-15 14:34:18 +00:00
tipaul f3ab1904dc missing my 2004-03-15 14:32:40 +00:00
tipaul 5c1ba0f7b8 adding a minor check 2004-03-15 14:31:50 +00:00
tipaul 0b468a1a96 *** empty log message *** 2004-03-11 16:06:20 +00:00
acli 29b1df6046 Various updates/fixes from rel_2_0
Fixes for bugs 721 (templating), 727, and 734
2004-03-07 05:47:31 +00:00
rangi adc12a8cd8 Starting on C4::Query,
Currently doesnt do anything much at all.
Im building a skeleton module then ill flesh it out
2004-03-07 01:49:34 +00:00
rangi 795a46d49f Got rid of the last error message -1 bug 2004-03-06 21:26:44 +00:00
tipaul 1498ce1415 adding seealso feature in MARC searches 2004-03-06 20:26:13 +00:00
tipaul 7d08d249a0 adding LDAP auth.
Introduce a new Perl dependency Net:LDAP
2004-03-04 16:49:09 +00:00
tipaul b5113b8e5b unsued package. beginning code cleaning 2004-03-04 15:39:41 +00:00
tipaul 45d347b60e unsued package. beginning code cleaning 2004-03-04 15:32:46 +00:00
tipaul e2b33cc485 bugfix (wrong synch with rel_2_0) 2004-02-20 10:34:59 +00:00
tipaul 15defe58a9 deleting subs duplicated by error 2004-02-12 13:40:56 +00:00
tipaul 58951e551f new feature : stocktaking/inventory.
Look in reports menu
(no DB changes)
2004-02-12 09:16:18 +00:00
tipaul af08d677c5 synch'ing 2.0.0 branch (RC4 tag) and head 2004-02-11 08:42:01 +00:00
tipaul 3635a596cf synch'ing 2.0.0 branch and head 2004-02-11 08:35:31 +00:00
acli 1286644ded This allows the user to type zh_TW and still get Chinese from the zh-TW
directory.
2004-02-10 00:43:21 +00:00
rangi d9bda8b778 Fix for bug 605, committing here as well as the stable branch 2004-01-15 23:33:29 +00:00
tipaul f8bde9b034 sync'ing with rel_2_0 (mostly prepare/execute pb, bug #662) 2003-12-22 19:16:58 +00:00
tipaul 864f90efd4 fix for #318 2003-12-19 14:44:46 +00:00
slef 8a7d5ff66c DBI call fix for bug 662 2003-12-17 01:28:31 +00:00
slef 928d76058a DBI call fix for bug 662 2003-12-15 16:18:45 +00:00
slef 2075e13bf7 DBI call fix for bug 662 2003-12-15 16:07:36 +00:00
tipaul 3d031f028b fixing bug that duplicates entries under certain circumstances 2003-12-15 14:38:59 +00:00
slef cba24ae2fe DBI call fix for bug 662 2003-12-15 13:41:43 +00:00
slef 2c26573466 DBI call fix for bug 662 2003-12-15 10:53:47 +00:00
slef dc8e00e1c1 DBI call fix for bug 662 2003-12-15 10:49:46 +00:00
slef b357beb032 Fix for bug reported by Owen 2003-12-14 17:25:37 +00:00
tipaul 571906a1a4 fixing compilation bugs 2003-12-11 12:56:34 +00:00
tipaul 3e4c958855 rolling back to working char_decode sub 2003-12-09 15:57:28 +00:00
slef 626bf007eb DBI call fix for bug 662 2003-12-09 15:03:00 +00:00
slef 0ea2a70c59 DBI call fix for bug 662 2003-12-09 14:47:38 +00:00
tipaul cf802b5ad8 new feature : recent acquisition in opac. 2003-12-08 16:27:10 +00:00
slef 8b66c677e5 DBI call fix for bug 662 2003-12-08 14:45:30 +00:00
slef 7f1072e28f DBI call fix for bug 662 2003-12-08 14:24:55 +00:00
slef 732e834edf DBI call fix for bug 662 2003-12-08 14:14:56 +00:00
slef c3491a735e DBI call fixes for bug 662 2003-12-08 14:08:49 +00:00
tipaul fbce422b4e prepare(?) execute($var) fixes 2003-12-04 09:33:32 +00:00
tipaul 87819d35b1 bugfixes for biblio deletion 2003-12-03 17:47:14 +00:00
slef a1d31b88e7 DBI fixes for bug 662 2003-12-03 12:09:44 +00:00
slef 8f6f8b99a9 DBI changes fixing bug 662 2003-12-03 12:05:40 +00:00
slef 7784d816a1 DBI fixes re bug 662. Removed worrying suggestion to use dbh->do in comments. 2003-12-03 11:51:52 +00:00
slef 76dc65f2ca DBI fixes as part of bug 662 2003-12-03 11:43:12 +00:00
slef 6ef083647e DBI changes as part of bug 662 2003-12-03 11:41:04 +00:00
slef 7734f87d73 fixes for bug 662, securing prepare 2003-12-03 02:19:25 +00:00
slef 49b6f7872f conflict markers? 2003-12-03 01:43:41 +00:00
slef 7b5ebdd51b bug 662 fixes securing DBI 2003-12-03 01:42:03 +00:00
slef 571d609ccd fix for bug 600 2003-12-02 22:13:25 +00:00
tipaul 802f047806 prepare(?) & execute($var) modif 2003-11-28 14:06:57 +00:00
tipaul 496c07ede0 bugfix : misusing prepare & execute => now using prepare(?) and execute($var) 2003-11-28 09:48:33 +00:00
tipaul ef5134635a bugfix for iso2709 file import in the "notforloan" field.
But notforloan field called "loan" somewhere, so in case "loan" is used, copied to "notforloan" to avoid a bug.
2003-11-28 09:45:25 +00:00
tipaul e5fddea941 fix for #385 2003-11-24 17:40:14 +00:00
tipaul e0759d0934 fixing a bug in searches with stopwords (that where not dropped).
Moving "contains" as 1st choice for the search (= default one)
2003-11-24 16:53:10 +00:00
tipaul 6eb2c6141d biblio & item deletion now works fine in MARC editor.
Stores deleted biblio/item in the marc field of the deletedbiblio/deleteditem table.
2003-11-24 16:28:49 +00:00
tipaul 4a98096d23 execute($var) with ? bugfix 2003-11-24 16:24:24 +00:00
tipaul 49d00491c8 moving $id from beginning to end of file (70 commits... huge comments...) 2003-11-24 13:29:55 +00:00
tipaul 4333350f43 fix for #380 (bibliosubject) 2003-11-24 13:27:17 +00:00
tipaul c196693358 minor fixes in thesaurus_popup & authorities.pm
NEW plugin : the plugin that manages 60X field in UNIMARC (i think it's the same in marc21). Used to search a thesaurus entry & parse bibliothesaurus table for category NC (Common Name in french).
The user can enter a search term, and see entries corresponding. If the search is a real entry in the thesaurus, and this entry has dependencies, they are shown too.
For example, if the thesaurus contains :
Geo -- Europe -- France -- Marseille
Geo -- Europe -- France -- Paris
Hist -- Europe -- France -- Revolution

A search on "France"
shows
Geo --Europe --France and Hist -- Europe -- France on the left panel
When the user clic on Geo -- Europe -- France,
Marseille & Paris are shown on the right panel.

When the user selects a value, it's reported to the MARC editor.

NOTE : template ONLY IN FRENCH (but it's 11PM for instance, & i plan to go to bed :-) )
2003-11-14 22:00:42 +00:00
tipaul 073d2233cc bugfix for #384
1st draft for MARC biblio deletion.
Still does not work well, but at least, Biblio.pm compiles & it should'nt break too many things
(Note the trash in the MARCdetail, but don't use it, please :-) )
2003-11-06 17:18:30 +00:00
rangi 9c998cda51 Fix for bug 535, and adding the classification column to the variables
available to the template
2003-11-04 19:48:50 +00:00
tipaul 11a414089f removing warning 2003-11-03 13:29:05 +00:00
rangi 5a808e96ef Fix for bug 621,
Returns not marking reserves waiting
2003-10-28 19:34:05 +00:00
tipaul 98884012cf minor fixes for bilbio deletion (still buggy) 2003-10-25 08:46:27 +00:00
tipaul 1af44318c6 Indexing only words longer than 2 letters. Was >=2 before, & 2 letters words usually means nothing. 2003-10-17 10:02:56 +00:00
tipaul 0d96be2e29 adding rebuildnonmarc.pl script : run this script when you change a link between marc and non MARC DB. It rebuilds the non-MARC DB (long operation) 2003-10-14 09:45:29 +00:00
tipaul 31a590d4ad fix for 536 (subtitle error) 2003-10-06 15:20:51 +00:00
tipaul 6cf22bce6d fix fog bug #622 : processz3950queue fails 2003-10-01 15:08:14 +00:00
tipaul 4434389d57 seems a char encoding problem modified something in char_decode sub... changing back to something that works... 2003-10-01 13:25:49 +00:00
rangi 425d7eb54f Fix for bug 618
duplicate cardnumber checking
2003-09-25 09:23:26 +00:00
tipaul 323642f5a1 all those fixes are related to translation improvement.
A few minor bugfixes too in perl code.

NOTE TO ENGLISH "TEMPLATORS" : you should look at this commits, as some ideas are really nice.  Thanks to Carole, Wesford School, new Koha user in France :-)
2003-09-18 10:19:28 +00:00
tipaul 139775d7c7 fixing bug that makes a MARC biblio disappear when using full acquisition (order => recieve ==> MARC editor).
Before this 2 lines fix, the MARC biblio was deleted during recieve, and had to be entirely recreated :-(
2003-09-17 14:21:13 +00:00
tipaul 64d6029a7d notforloan value in itemtype was overwritting notforloan value in a given item.
I changed this behaviour :
if notforloan is set for a given item, and NOT for all items from this itemtype, the notforloan is kept.
If notforloan is set for itemtype, it's used (and impossible to loan a specific item from this itemtype)
2003-09-17 10:24:39 +00:00
tipaul 45414c767b remove trailing , in subject list 2003-09-17 10:20:12 +00:00
rangi b1acf4e1b4 Fix for bug 603 2003-09-12 00:46:21 +00:00
rangi 8d8102cdc3 Fix for showing the current borrower on the moredetail.pl page 2003-09-11 22:03:43 +00:00
tipaul f2c07bb529 bugfix : biblios without isbn where not added into the breeding farm 2003-09-08 08:42:40 +00:00
tipaul b36dc7537c fix for 593 (data duplication in MARC-DB) 2003-09-04 14:11:23 +00:00
tipaul 8bc5e4ab66 fix for 583 (values in marc_word table should have quotation marks, etc, stripped) 2003-09-04 10:17:07 +00:00
rangi d7bf28d524 Fix for bug 562 2003-09-03 19:41:22 +00:00
tipaul 1b6d041c9c removing "warn" 2003-09-03 15:01:50 +00:00
wolfpac444 97350a2d42 Added support for author searching to KeywordSearch 2003-08-10 00:38:47 +00:00
tipaul 78c8b66905 fix for 570 : If a subject search is done from the OPAC or Intranet Catalogue, duplicate
results are returned.  For instance, if a search for 'dogs' returns 25 results
that have the subject 'dogs,' there will be 25 duplicate listings in the results.
2003-08-08 15:25:27 +00:00
tipaul 83cca02a46 fix for publicationyear : extracting numeric value from MARC string, like for copyrightdate.
(note that copyrightdate still extracted to get numeric format)
2003-08-06 12:54:52 +00:00
tipaul b42279581b adding demo mode 2003-08-06 12:38:27 +00:00
tipaul db8f840838 fix for 556 2003-08-06 12:37:54 +00:00
rangi e6a4f80040 Another attempted fix for issuing bug, can NPL test this please.
It seems to be working ok for me
2003-08-04 01:53:55 +00:00
rangi e0e3784e8b Fix for bug 293 2003-07-24 09:17:42 +00:00
slef bdd6346c90 change show columns to use biblioitems bnotes too 2003-07-15 23:09:18 +00:00
slef c72ec1dc6a fixes from paul email 2003-07-15 11:34:52 +00:00
slef d0f40352af Work on bug 515... can we do a single-side rename of notes to bnotes? 2003-07-15 00:02:49 +00:00
tipaul 125530b3e3 *** empty log message *** 2003-07-11 11:51:32 +00:00
tipaul af76ab2d58 typo fix 2003-07-10 12:24:20 +00:00
tipaul cdb9220d74 fix for copyrightdate problem, #514 2003-07-10 10:37:19 +00:00
cauchoip 4309657656 small fixes (sql query formatting problems) 2003-07-10 10:19:21 +00:00
plugz d3ccb3148f Searches with NOT are now fully functionnal
Can create SQL request for any number of statements.
FIXED: splits entry if operator is "contains" and the value is like "foo bar boo"
2003-07-08 11:59:08 +00:00
tipaul 354b08cb47 removing warnings 2003-07-07 14:43:58 +00:00
tipaul bf1a858645 improving checkdigit sub. 2003-07-07 14:43:42 +00:00
tipaul 62361b7308 dramatically improves search speed when searching something OR somethingelse 2003-07-03 12:48:33 +00:00
tipaul f1f7658357 fix for #519 : items.dateaccessioned imports incorrectly 2003-07-02 14:47:17 +00:00
tipaul f558018f3d fix for #512 (not sure it's enogh. to be checked by NPL) 2003-07-02 13:57:13 +00:00
tipaul 71817b0ab1 fixing bug in thesaurus entry modification 2003-07-02 12:49:43 +00:00
wolfpac444 2ee3977b0e *** empty log message *** 2003-07-01 17:22:17 +00:00
plugz bee78deec1 Added &getbranchname and &getborrowercategory
getbranchname : given branchcode returns branch name
getborrowercategory : given categorycode returns description
2003-07-01 10:30:05 +00:00
plugz 878b64dadd FIX: Incorrect parameters given to function Stats::UpdateStats in
issuebook and returnbook functions
2003-06-20 12:48:09 +00:00
plugz e1e291d69b FIX: Incorrect values inserted in database. used '$a' instead of $a 2003-06-20 12:34:48 +00:00
plugz 47d135f123 Bugfix for #499
Simple search added, searching in the first letter of surnames.
Added commentary inside Search.pm for explanations
2003-06-20 08:48:16 +00:00
plugz 94ac73b0d3 bugfix for #499
The BornameSearch function now uses the $type parameter
Single and advanced search methods implemented.
Advanced is the old version.
Single only looks for $member% in surnames.
2003-06-19 16:14:30 +00:00
tipaul bb7fecd745 improvments/fixes for z3950 support.
* Works now even on ADD, not only on MODIFY
* able to search on ISBN, author, title
2003-06-17 11:21:12 +00:00
rangi 63fc432b9e Fixing a bug ine sql 2003-06-17 08:48:24 +00:00
rangi 5bfaef8cfb Just added an order clause to getitemtypes 2003-06-16 09:22:53 +00:00
rangi fc78b91222 Ordering branches by branchname 2003-06-16 09:19:44 +00:00
tonnesen 66bf985d0a Added two new routines for getting a list of available themes/languages (used
by new systempreferences.pl script to present a list of available themes or
languages).
2003-06-11 18:48:07 +00:00
tonnesen c41c02271d Changing "preference()" calls to "boolean_preference()" calls 2003-06-11 18:44:01 +00:00
tonnesen 3ba349bd4e Increased default inactivity timeout from 2 minutes to 5 minutes. 2003-06-11 18:40:53 +00:00
tipaul a72d9621ae removing searchborrower from circ2.pm.
Already exists in Search.pm
this fixes bug #439 and improve consistency.
2003-06-05 17:03:31 +00:00
rangi f2b1c3d3a2 Fixing a bug that was breaking adding or modifying suppliers 2003-05-30 21:22:49 +00:00
tipaul 27edbcc574 fixing typo in Biblio.pm POD 2003-05-20 16:22:44 +00:00
tipaul d8551b19c2 * PARTIAL fix for #322 => gives strange results imho
* removing unused subs
* indenting with tabs
* adding monthly report (stats.pl?time=month)
2003-05-19 16:20:51 +00:00
tipaul fffb89aef4 fixing strange bug when cardnumber not set and borrower does not exists : sometimes finded value anyway ! 2003-05-19 14:55:32 +00:00
wolfpac444 9f32a8adf0 Bug fixes. 2003-05-19 13:59:12 +00:00
tipaul 7a95c1d809 support for subtitles, additional authors, subject.
This supports is only for MARC <-> OLD-DB link. It worked previously, but values entered as MARC were not reported to OLD-DB, neither values entered as OLD-DB were reported to MARC.
Note that some OLD-DB subs are strange (dummy ?) see OLDmodsubject, OLDmodsubtitle, OLDmodaddiauthor in C4/Biblio.pm
For example it seems impossible to have more that 1 addi author and 1 subtitle. In MARC it's not the case. So, if you enter more than one, I'm afraid only the LAST will be stored.
2003-05-19 13:45:18 +00:00
wolfpac444 5169e23b54 Fixed theme/language templating in intranet. 2003-05-13 05:10:07 +00:00
wolfpac444 0499df0045 Fixed bug #405 2003-05-08 14:12:29 +00:00
wolfpac444 8b4a044bb5 Changed the scripts to use format_date 2003-05-08 13:19:39 +00:00
wolfpac444 00fef22485 Added "noissuescharge" parameter 2003-05-08 12:48:23 +00:00
tipaul 368d9107a2 moving loggedinuser => loggedinusername in includes and Auth.pm :
The $loggedinuser in Koha is the CODE of the logged user (result of get_user_and_template subroutine).
BTW, in get_user_and_template subroutine, the TMPL_VAR loggedinuser is replaced by the NAME of the user.
This is troubleshooting.
so, I replace the name by the "loggedinusername" template variable.
If you want to add the username somewhere, just add <TMPL_VAR name="loggedinusername"> in the template.

Fixes bug #401
2003-05-05 15:00:53 +00:00
tipaul 1a218daf74 fix : when a book is taken and marked "not returned yet", it's now marked returned and issue done. 2003-05-05 14:14:28 +00:00
wolfpac444 b65bd46a6b *** empty log message *** 2003-05-05 11:51:20 +00:00
tipaul fa5d7968a2 missing " 2003-05-05 10:11:34 +00:00
tipaul 3c4012d4de fix for 191, code reindenting & some query improvment 2003-05-05 09:41:03 +00:00
tipaul 7608bee7cf removing warnings 2003-05-02 13:07:14 +00:00
tipaul 5a54bfc1ae *** empty log message *** 2003-05-02 13:05:08 +00:00
rangi 76b467c900 renewbook is used by renewscript.pl
Making sure characters are escaped in the database insert
2003-04-30 22:55:54 +00:00
tipaul 22567447ce *** empty log message *** 2003-04-29 16:51:15 +00:00
tipaul 26543b430e really proud of this commit :-)
z3950 search and import seems to works fine.
Let me explain how :
* a "search z3950" button is added in the addbiblio template.
* when clicked, a popup appears and z3950/search.pl is called
* z3950/search.pl calls addz3950search in the DB
* the z3950 daemon retrieve the records and stores them in z3950results AND in marc_breeding table.
* as long as there as searches pending, the popup auto refresh every 2 seconds, and says how many searches are pending.
* when the user clicks on a z3950 result => the parent popup is called with the requested biblio, and auto-filled

Note :
* character encoding support : (It's a nightmare...) In the z3950servers table, a "encoding" column has been added. You can put "UNIMARC" or "USMARC" in this column. Depending on this, the char_decode in C4::Biblio.pm replaces marc-char-encode by an iso 8859-1 encoding. Note that in the breeding import this value has been added too, for a better support.
* the marc_breeding and z3950* tables have been modified : they have an encoding column and the random z3950 number is stored too for convenience => it's the key I use to list only requested biblios in the popup.
2003-04-29 16:48:25 +00:00
tipaul a3c119a356 z3950 support is coming...
* adding a syntax column in z3950 table = this column will say wether the z3950 must be called with PerferedRecordsyntax => USMARC or PerferedRecordsyntax => UNIMARC. I tried some french UNIMARC z3950 servers, and some only send USMARC, some only UNIMARC, some can answer with both.
Note this is a 1st draft. More to follow (today ? I hope).
2003-04-29 08:09:42 +00:00
tipaul e5bbeace3d Those fixes solves the "internal server error" with MARC::Record 1.12.
It was due to an illegal contruction in Koha : we tried to retrive subfields from <10 tags.
That's not possible. MARC::Record accepted this in 0.93 version, but it was fixed after.
Now, the construct/retrieving is OK !
2003-04-28 13:07:14 +00:00
tipaul 4b18c35c6f fix for #410 2003-04-24 18:28:40 +00:00
tipaul e565c001ee some fixes 2003-04-24 16:29:09 +00:00
tipaul d215d11c3d fix for 361 2003-04-24 16:28:47 +00:00
tipaul e57535b581 fix for #297 and some others bugs 2003-04-23 12:20:26 +00:00
tipaul a118eeacfc 1st draft for z3950 client import.
moving Breeding farm script to a perl package C4/Breeding.pm
2003-04-22 12:22:52 +00:00
tipaul 7d34ac8ec4 *** empty log message *** 2003-04-11 08:41:06 +00:00
tipaul 88867f1426 Fix some bugs :
* worked in 1.9.0, but not in 1.9.1 :
- modif of a biblio didn't work
- empty fields where not shown when modifying a biblio. empty fields managed by the library (ie in tab 0->9 in MARC parameter table) MUST be entered, even if not presented.

* did not work before :
- repeatable subfields now works correctly. Enter 2 subfields separated by | and they will be splitted during saving.
- dropped the last subfield of the MARC form :-(

Internal changes :
- MARCmodbiblio now works by deleting and recreating the biblio. It's not perf optimized, but MARC is a "do_something_impossible_to_trace" standard, so, it's the best solution. not a problem for me, as biblio are rarely modified.
Note the MARCdelbiblio has been rewritted to enable deletion of a biblio WITHOUT deleting items.
2003-04-10 13:56:02 +00:00
tipaul 533c38dc8f fix for #229 2003-04-08 11:30:55 +00:00
tipaul 844797459f fix for #187 2003-04-07 14:05:24 +00:00
wolfpac444 e4d7a39bab Fixed the dates in aqbudget.pl 2003-04-05 03:19:33 +00:00
tipaul e60f831e1f last commits before 1.9.1 2003-04-04 08:40:44 +00:00
wolfpac444 6b0a39e5bb Fixed bug #250 2003-04-04 08:04:16 +00:00
wolfpac444 a5587ab3a2 Added Paul's changes to the version that should be current. I have been having problems with my version reverting back to an old
one.
2003-04-03 01:28:28 +00:00
tipaul cc35b709e1 small fix to avoid empty list when itemtypes does'nt exist in DB 2003-04-01 13:19:55 +00:00
tipaul 452e65166c fixes 2003-04-01 12:26:43 +00:00
tipaul 674c150697 small improvment 2003-04-01 12:26:02 +00:00
wolfpac444 16f422a8f7 Bug fixes 2003-03-29 00:02:24 +00:00
wolfpac444 4dd0e8d2fb Here we go again... 2003-03-28 23:08:30 +00:00
wolfpac444 ca0bf13bd0 Fixed bug #241 2003-03-28 23:03:51 +00:00
wolfpac444 333e222461 *** empty log message *** 2003-03-26 04:42:56 +00:00
wolfpac444 14809df133 *** empty log message *** 2003-03-26 04:42:56 +00:00
wolfpac444 00d780e00e Hmm.. having problems getting my changes to Date.pm saved... 2003-03-26 04:09:06 +00:00
wolfpac444 20da23088a Added format_date_in_iso function. 2003-03-26 03:57:10 +00:00
wolfpac444 28be0337c5 Fixed problems with non-US date such as 28/10/1983. 2003-03-26 03:46:20 +00:00
wolfpac444 feb424a443 Module to format dates in the correct manner. 2003-03-26 02:48:59 +00:00
tipaul 86631c1a8e fix for bug #54 2003-03-19 21:37:21 +00:00
tipaul 3205a1a3ff reindenting & code cleaning 2003-03-19 21:03:32 +00:00
tipaul feae3136b4 adding checkdigit parameter that choose how to check the members cardnumber.
At the moment :
* none = no checking
* katipo = checked as before
2003-03-18 10:58:19 +00:00
tipaul 9658d683f6 pod updating 2003-03-11 15:14:03 +00:00
tipaul b9fbe0083f *** empty log message *** 2003-03-10 15:19:33 +00:00
tipaul 1b0620652e * moving generic functions to Koha.pm
* improvement of SearchMarc.pm
* bugfixes
* code cleaning
2003-03-07 16:35:42 +00:00
tipaul f953c4a169 adding "interface" parameter : /intranet-tmpl or /opac-tmpl 2003-03-04 17:49:50 +00:00
tipaul 4b2c43a9a9 bugfix for bookseller forgot and minor sql improvement 2003-03-03 17:37:34 +00:00
tipaul 867a82398e migrating to prepare (?) execute($var) structure 2003-03-03 17:36:32 +00:00
tipaul 69a3b7e8ae small bugfix 2003-02-28 16:29:11 +00:00
tipaul fe8746a471 * moving prepare / execute to ? form.
* some # cleaning
* little bugfix.
* road to 1.9.2 => acquisition and cataloguing merging
2003-02-27 16:51:59 +00:00
wolfpac444 4e3888e2ec Fixed the subject search. 2003-02-21 02:25:03 +00:00
wolfpac444 c3c3f27ec7 *** empty log message *** 2003-02-19 01:33:52 +00:00
wolfpac444 4d88a09509 Removed the unecessary $dbh argument from being passed.
Resolved a few minor FIXMEs.
2003-02-19 01:01:06 +00:00
wolfpac444 04ce9b04f1 Cleaned up the FIXME issues. 2003-02-19 00:39:18 +00:00
tipaul fa0f51d9c2 Support for 000 -> 010 fields.
Those fields doesn't have subfields.
In koha, we will use a specific "trick" : fields <10 will have a "virtual" subfield : "@".
Note it's only virtual : when rebuilding the MARC::Record, the koha API handle correctly "@" subfields => the resulting MARC record has a 00x field without subfield.
2003-02-12 11:01:04 +00:00
tipaul 8d75bf9568 Support for 000 -> 010 fields.
Those fields doesn't have subfields.
In koha, we will use a specific "trick" : fields <10 will have a "virtual" subfield : "@".
Note it's only virtual : when rebuilding the MARC::Record, the koha API handle correctly "@" subfields => the resulting MARC record has a 00x field without subfield.
2003-02-12 11:01:01 +00:00
tipaul bd9239fee1 removing unused sub 2003-02-10 13:37:08 +00:00
acli 7d7deb7b36 Moved the cardnumber generation logic out of memberentry.pl; new module
C4::Members created to hold this logic

Fixed syntax error in newimember.pl
Make newimember.pl use the cardnumber generation logic (bug 206)
Updated newimember.pl to use get_template_and_user
Other minor mods to newimember.pl; new tab size noted
2003-02-10 07:14:16 +00:00
acli ac6592a669 Fixed completely wrong logic in my boolean_preference function 2003-02-10 06:37:00 +00:00
acli be5f5273fa Tentatively export the "internal" function CalcReserveFee ; opac-reserves
uses it

Noted correct tab size
2003-02-06 07:41:28 +00:00
acli 47aa996a11 Forgot to take out debugging code 2003-02-06 07:07:54 +00:00
acli 850a3e41f6 Use the new C4::Boolean module and the new C4::Auth::boolean_parameter
function to test for boolean values in parameters
2003-02-06 06:35:26 +00:00
acli 6157f1842b Convenience function to check for 1/0/true/false/on/off/yes/no 2003-02-06 06:15:00 +00:00
acli 8f722b5829 POD elaboration for checkauth() (esp. regarding "$flagsrequired") 2003-02-06 06:13:59 +00:00
acli fc5d0e3961 Explicitly declare dependency on HTML::Template
If checkauth() detects a permission problem (e.g., in untemplated scripts),
this is necessary for the code (that displays the error message) to run
(otherwise Perl dies with a very cryptic, confusing error message)
2003-02-06 05:04:36 +00:00
acli 6ac450b83b Converted a few SQL statements to use ? to fix a few strange SQL errors
Noted correct tab size
2003-02-05 10:05:02 +00:00
acli 88dcb0a314 Changed the 3 "this does nothing" lines to set the flag. Is this right? 2003-02-05 07:55:42 +00:00
acli f475af255f Implemented fixes for bug 170
1. Circ2::returnbook will throw an exception if $branch is undef
2. branch/printer-getting code is modularized into getbranch and getprinter
   with correct logic from circulation.pl (temporarily put into Circ2.pm)
3. circulation.pl and returns.pl modified to use above functions

Noted correct tab sizes for the files; returns.pl partially reformatted to
conform to the dominant correct tab size

Handle non-latin1 charsets for returns.pl
2003-02-05 06:28:56 +00:00
tonnesen f58bb6afe0 Removing +1y expiry time from cookies so that cookies expire when the browser
exits.
2003-02-04 17:57:10 +00:00
acli f1ae358bcd Reverted to using s/// instead of quotemeta for title/author/illustrator,
to avoid quoting spaces (which results in most titles/authors etc. becoming
unsearchable) (Bug 197)
2003-02-04 04:44:35 +00:00
acli b5ecefd485 Minor factoring in C4/Biblio.pm, plus change to export the per-tag
'mandatory' property to a per-subfield 'tag_mandatory' template parameter,
so that addbiblio.tmpl can distinguish between mandatory subfields in a
mandatory tag and mandatory subfields in an optional tag

Not-minor factoring in acqui.simple/addbiblio.pl to make the if-else blocks
smaller, and to add some POD; need further testing for this

Added function to check if a MARC subfield name is "koha-internal" (instead
of checking it for 'lib' and 'tag' everywhere); temporarily added to Koha.pm

Use above function in acqui.simple/additem.pl and search.marc/search.pl
2003-02-03 18:46:00 +00:00
acli 8f62498205 Updated module location 2003-02-03 07:23:14 +00:00
acli 32b87866dd Minor code cleanup
(Implemented some simple FIXME's in C4/Search.pm)
2003-02-03 02:15:43 +00:00
acli 16d67236c2 Distinguish between On Loan, Item Lost, and Withdrawn, instead of saying
just "not available".  Cf. Bug 112
2003-02-02 08:47:01 +00:00
acli e9858a2910 Moved C4/Charset.pm to C4/Interface/CGI/Output.pm 2003-02-02 07:19:29 +00:00
acli 52a5fd4bbd Moved C4/Charset.pm to C4/Interface/CGI/Output.pm
Create output_html_with_http_headers function to contain the "print $query
->header(-type => guesstype...),..." call. This is in preparation for
non-HTML output (e.g., text/xml) and charset conversion before output in
the future.

Created C4/Interface/CGI/Template.pm to hold convenience functions specific
to the CGI interface using HTML::Template

Modified moremembers.pl to make the "sex" field localizable for languages
where M and F doesn't make sense
2003-02-02 07:18:37 +00:00
tipaul c23d07724e search on MARC datas.
first draft
2003-01-28 14:56:39 +00:00
tipaul d8c2e556ce fixing a sql query not using prepare(?) & execute($var) method 2003-01-28 14:53:30 +00:00
tipaul c0c8f96121 fixing MARCmodbiblio API and reindenting code 2003-01-28 14:50:04 +00:00
tipaul 4cbb08cd5e bugfix #168 + "breedingsearch" sub added+ "isbnsearch" (used only in acqui.simple, should disappear soon) now works on title and isbn 2003-01-28 14:46:50 +00:00
acli 47fcb64527 Temporary patch for bug 182 2003-01-26 04:37:17 +00:00
acli ef50ee5217 Use ? for an SQL query to prevent SQL syntax errors 2003-01-25 20:05:20 +00:00
tipaul 8392f92ec0 adding char_decode to decode MARC21 or UNIMARC extended chars 2003-01-23 12:22:37 +00:00
acli b242ad44ec Removed scoping-related perl warnings 2003-01-20 07:38:54 +00:00
acli 5d52c8bf49 Removed scoping-related perl warnings
Factored similar code in getborrowernumber
"i.e." in one comment should be "e.g."
2003-01-20 07:38:23 +00:00
acli 2e7bb9a106 Removed perl warning 2003-01-20 07:35:31 +00:00
acli ea50c2acb6 Preliminary fix of the CGI.pm problem of always assuming that everything is
in ISO-8859-1.

A new C4::Charset module (tentative name) has been created to guess the
charset of a piece of HTML markup. The CGI programs will be modified to use
this module as they are encountered during translation.
2003-01-19 06:15:44 +00:00
acli 6bdd53ded8 Added < to the filenames of open() calls 2003-01-19 06:13:27 +00:00
tipaul 95791d11cf last bugfix before releasing 1.3.3. Not trully a bugfix (see release notes) 2003-01-06 13:31:01 +00:00
tipaul 40d6ddb383 checks that the config file passed in parameter exist, otherwise, uses the default one (/etc/koha.conf)
useful in upgradedb2marc.pl script.
* if this script is called during installation, uses /etc/koha.conf.tmp
* if it's called manually (after installation), uses /etc/koha.conf, as the tmp file is no more here :-)
2002-12-20 13:54:31 +00:00
tipaul 6098d9c4eb little modif in gettemplate.
auto-replaces theme and lang template variable.
This is useful if you have images in your template :
<img src="/<TMPL_VAR name="theme">/<TMPL_VAR name="lang">/images/picture.gif>
or
<img src="/<TMPL_VAR name="theme">/images/picture.gif>
in the case of a non-language dependant image.

Before this fix, gettemplate only replaced a variable called themelang, which was useful for language dependant images, but didn't work with theme-only images.
Note the previous behaviour is still activated (ie : themelang still works)
2002-12-20 08:35:19 +00:00
hdl 16c57f0a75 Templating reservereport et shelves. 2002-12-19 18:55:40 +00:00
hdl 9d8857f344 Templating reports.pl
This might be of no use... Since it is never called and seems obsolete.
2002-12-19 15:22:18 +00:00
tipaul 80a37bdd4a small but important bugfix (fixes a problem in export) 2002-12-16 15:08:50 +00:00
tipaul 4b9af7f1ff 1st draft of marc export 2002-12-13 16:22:04 +00:00
tipaul a067d70c35 code cleaning 2002-12-13 10:36:22 +00:00
tipaul 4d315418f2 YAB ! (Yet Another Bugfix) => related to biblio modif
(some warning cleaning too)
2002-12-12 21:26:35 +00:00
tipaul dd696c61e8 adding authentification with Auth.pm and
MAJOR BUGFIX on marc biblio modification
2002-12-12 16:34:41 +00:00
tipaul b0d0dddfac authentification bugfix :
the api in pod-auth.pm has "type => 'opac' "parameter.
If called from intranet, should be type => 'intranet'.
Output.pm checked for type existed, and not it's value. Now, Output compares checks for type value.
If type='intranet', then the intranet template is called, else it's an opac template.
Finlay, please validate this commit.
2002-12-10 15:52:49 +00:00
tipaul 60c769f326 removing warnings 2002-12-10 13:42:00 +00:00
tipaul 9b6d589336 fugfixes from Dombes Abbey work 2002-12-10 13:30:03 +00:00
rangi bc9b0aca44 Added a note that this module is slated to be removed 2002-12-07 04:38:56 +00:00
finlayt 2ee268c632 This is essentially the Auth.pm coming from the rel-1-2 branch. It is quite different from the old one, but shouldnt break any existing code. 2002-12-04 04:32:35 +00:00
tipaul 5c67993c8f road to 1.3.2
various bugfixes, improvments, and migration from acquisition.pm to biblio.pm
2002-11-19 12:31:34 +00:00
tipaul 73e37063d5 road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
2002-11-12 16:39:14 +00:00
tipaul e11872aeb1 road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure to a sub stored in "value_builder" directory. In this directory you can create screen used to build values with any method. In this commit is a 1st draft of the builder for 100$a unimarc french subfield, which is composed of 35 digits, with 12 differents values (only the 4th first are provided for instance)
2002-11-12 15:58:43 +00:00
tonnesen c16a952963 Merging from rel-1-2 to trunk 2002-10-28 20:02:57 +00:00
tipaul 94b6b3a6c1 Road to 1.3.2
* bugfixes and improvements
2002-10-25 10:58:26 +00:00
tonnesen 08d26bcc75 Removing ReserveWaiting call pending further discussion... 2002-10-24 20:09:29 +00:00
tonnesen 7aeb26593b Merging changes from rel-1-2 into trunk (circulation module only) 2002-10-24 18:30:17 +00:00
arensb fbb774f115 Fixed "no title" warning when generating HTML documentation from POD. 2002-10-24 12:09:01 +00:00
tonnesen a0df2d5ea3 Added a couple of tests. 2002-10-24 04:12:10 +00:00
tonnesen d0a060afb5 Added some more functionality to Shelf.pm (including the ability to actually
create a new shelf) and started a test script (Shelf.t)
2002-10-23 23:32:47 +00:00
tonnesen 263f5ecd46 First shot at a Shelf module. I'd appreciate comments on this. It contains
perldoc documentation describing the interface to date.
2002-10-23 22:21:09 +00:00
arensb 15a05e968f Updated a FIXME comment. 2002-10-16 12:45:15 +00:00
arensb aa3a88a76c Added and updated some FIXME comments. 2002-10-16 12:44:25 +00:00
arensb 15d6ecc822 Added some FIXME comments. 2002-10-16 12:42:29 +00:00
tipaul 6d578747a9 removing Acquisition.pm
deleting unused code in biblio.pm, rewriting POD and answering most FIXME comments
2002-10-15 13:39:17 +00:00
tipaul c4892ded4d merging arens + my modifs/bugfixes 2002-10-14 07:40:04 +00:00
finlayt 6800d04813 added small fix to UpdateReserve that fixes a bug coming from the calles from moremember.pl 2002-10-14 04:22:25 +00:00
arensb eff606ba56 Replaced expressions of the form "$x = $x <op> $y" with "$x <op>= $y".
Thus, $x = $x+2 becomes $x += 2, and so forth.
2002-10-13 11:32:14 +00:00
arensb 24b7b9a73d Removed trailing whitespace. 2002-10-13 09:31:35 +00:00
arensb 89ed0f29f6 Removed unused finalizer. 2002-10-13 08:34:49 +00:00
arensb fddab26c2e Deleted unused variables.
Removed trailing whitespace.
2002-10-13 08:27:49 +00:00
arensb 7197a3735b Added magic RCS comment.
Removed trailing whitespace.
2002-10-13 07:31:21 +00:00
arensb d5c8d40e23 Deleted unused variables.
Removed trailing whitespace.
2002-10-13 06:37:54 +00:00
arensb 73bcde4fa1 Added magic RCS comment.
Added some FIXME comments explaining why I didn't write a POD.
Removed unused finalizer.
2002-10-13 06:29:37 +00:00
arensb a3118241ed Added magic RCS comment.
Added some FIXME comments.
Added some explanatory comments.
Removed trailing whitespace.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:28:49 +00:00
arensb c572ee3b11 Added magic RCS comment.
Added some FIXME comments.
Added some explanatory comments.
Removed trailing whitespace.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:22:48 +00:00
arensb f96a21551d Added magic RCS comment.
Added some FIXME comments.
Deleted unused variables.
Added POD.
Removed unused finalizer.
2002-10-13 06:20:22 +00:00
arensb 048e1fdfe1 Added magic RCS comment.
Removed a lying comment.
Removed unused global variables.
Added POD.
Added some FIXME comments.
Added some explanatory comments.
Removed unused finalizer.
2002-10-13 06:18:42 +00:00
arensb 198d27dd88 Added magic RCS string.
Added some FIXME comments.
Removed unused finalizer.
2002-10-13 06:15:08 +00:00
arensb 4779119226 Added magic RCS string.
Added a FIXME comment.
Removed unused finalizer.
2002-10-13 06:14:10 +00:00
arensb 3660bc647a Removed bogus #! line (this isn't a script!)
Removed unused global variables.
Added POD.
Added some explanatory comments.
Added some FIXME comments.
2002-10-13 06:13:23 +00:00
arensb 6e4f0b9fb7 Added magic RCS comment.
Removed declarations for nonexistent variables.
Added some FIXME comments.
Removed unused finalizer.
2002-10-13 06:12:00 +00:00
arensb bc9257875b Added partial POD (but I don't understand reserves well enough to
continue).
Added magic RCS comment.
Added some explanatory comments.
Removed trailing whitespace.
Added some FIXME comments.
Moved comments in first column to where they wouldn't obscure the
indentation.
Removed unused finalizer.
2002-10-13 06:09:26 +00:00
arensb 3a92eb7781 Added some FIXME comments. 2002-10-13 06:05:59 +00:00
arensb 6da9869463 Added a FIXME comment. 2002-10-13 06:03:38 +00:00
arensb 118907bcdd Added some FIXME comments.
Added RCS magic comment.
Removed unused finalizer.
2002-10-13 06:03:03 +00:00
arensb c7f9fb2b99 Added some FIXME comments. 2002-10-13 05:56:10 +00:00
arensb 3e5e5e0303 Added a partial POD.
Wrote some FIXME comments explaining why I'm not going to write any
more PODs.
Added some other FIXME comments.
2002-10-13 05:52:46 +00:00
arensb 5c91d43a43 Added some FIXME comments. 2002-10-13 05:49:13 +00:00
arensb 125a9fafcf Added some FIXME comments. 2002-10-12 07:31:35 +00:00
arensb 5ff7515d5b Turn off authentication entirely if systempreference "insecure" is set
to "yes".
2002-10-12 06:12:39 +00:00
arensb 57bc667d07 Got rid of the dependency on Set::Scalar. Yay! One fewer package that
the user has to install!
Redid the way SQL queries are built up, to make it more readable and
maintainable.
Removed a couple of unused variables.
Got rid of some un-Perl-like bogosity.
2002-10-12 05:43:03 +00:00
arensb 13d93ef115 Added a FIXME comment. 2002-10-11 13:06:52 +00:00
arensb f981e30f4a Gutted.
Every function in this module is now obsolete. Removed just about
everything.
The name "Database" might still be reused, though the next time
something gets added, it should probably be called v2.0.
2002-10-11 12:52:11 +00:00
arensb 70d8c21450 Removed bogus unused variables at the top.
Prettified @EXPORT list.
(bug fix): Added missing semicolon.
2002-10-11 12:42:08 +00:00
arensb 70c08fd084 Replaced &requireDBI with C4::Context->dbh, thus making the "use
Database" statement unnecessary.
Fixed POD up a bit.
2002-10-11 12:40:50 +00:00
arensb 52d2d7bf92 Removed trailing whitespace that was messing up the POD. 2002-10-11 12:39:34 +00:00
arensb cd8203d8d8 Added FIXME comment. This file is obsolete, right? 2002-10-11 12:36:44 +00:00
arensb e744903393 Updated FIXME comment. This file is obsolete, right? 2002-10-11 12:36:26 +00:00
arensb 81ec28f127 Replaced &requireDBI with C4::Context->dbh 2002-10-11 12:34:53 +00:00
arensb 99fdc7afa0 Cleaned things up a bit. 2002-10-11 03:24:29 +00:00
arensb 61d632bf8a Removed &systemprefs. It is no longer used. 2002-10-11 03:14:51 +00:00
arensb ddcc85bfc2 Use C4::Context->preference instead of &systemprefs or explicit SQL
calls to get an entry from the systempreferences table.
2002-10-11 03:14:03 +00:00
arensb 527fdc97e0 Made code a bit more Perl-ish. 2002-10-10 14:51:14 +00:00
tipaul b47c3c7627 bugfixes 2002-10-10 14:48:25 +00:00
tipaul ae8bd1dbf8 cleaning code 2002-10-10 14:47:00 +00:00
tipaul 9d31145bf2 merging 1.2 and bugfixes for auth and login 2002-10-10 10:07:34 +00:00
arensb afa8db75fc Added some FIXMEs.
Made code more Perlish.
(bug fix): Allow whitespace in $HTTP_ACCEPT_LANGUAGE (Konqueror uses
", " as language separator).
2002-10-10 05:32:20 +00:00
arensb 657643c67d Added whitespace to make the POD work.
Added author.
2002-10-10 04:47:54 +00:00
arensb 94d2f6ea1f Added whitespace to make the POD work. 2002-10-10 04:44:28 +00:00
arensb 4c345d156a Fixed a few problems with POD. 2002-10-10 04:43:44 +00:00
arensb d00793f8a1 Simplified references. 2002-10-10 04:42:35 +00:00
arensb ef8cf295eb Added whitespace to make the POD work.
Removed references, added author.
2002-10-10 04:41:05 +00:00
arensb 95e2b3d1e6 Removed reference to Perl in POD. It should be obvious. 2002-10-10 04:34:51 +00:00
arensb fa62f577cf Added whitespace to make the POD work.
Simplified references.
Added author email address.
2002-10-10 04:34:20 +00:00
arensb 668b558887 Fixed FIXMEs.
Removed reference to Perl in POD. It should be obvious.
2002-10-10 04:33:25 +00:00
arensb 9f09e01c07 Simplified references. 2002-10-10 04:32:44 +00:00
arensb e4a482ac3d Fixed FIXMEs.
Removed reference to Perl. It should be obvious.
2002-10-10 04:32:06 +00:00
arensb fa873de1fd Added whitespace to make the POD work.
Simplified references.
2002-10-10 04:29:39 +00:00
arensb 2f9a3a5bec Removed trailing whitespace that was breaking the POD. 2002-10-09 15:25:03 +00:00
arensb 3344f22bb7 Added POD.
Added a bunch of FIXMEs.
Trimmed trailing whitespace.
2002-10-09 14:17:49 +00:00
arensb 594987f486 Fixed missing bracket in POD. 2002-10-09 14:14:08 +00:00
arensb 99298f3d92 Added some FIXMEs. 2002-10-09 14:13:31 +00:00
arensb 7dcba2d082 Fixed FIXMEs in the POD. 2002-10-09 14:13:01 +00:00
arensb 3e7a102268 Added a couple of comments. 2002-10-09 14:04:49 +00:00
tipaul dd1fd87846 road to 1.3.1 : viewing MARC biblio 2002-10-07 14:04:26 +00:00
arensb fe98e2768b Removed unnecessary "use" line. 2002-10-07 00:51:55 +00:00
arensb 09fbb5e9d7 Added POD and some comments. 2002-10-07 00:51:22 +00:00
arensb 888c451d3d Added a FIXME comment. 2002-10-07 00:50:33 +00:00
arensb 21f62b0c03 Added a POD of sorts. 2002-10-07 00:48:50 +00:00
arensb d00f624169 Added some FIXME comments. 2002-10-07 00:45:25 +00:00
arensb 695eb3b4b6 Removed unnecessary "use" line. 2002-10-07 00:44:23 +00:00
arensb e551a3b888 Added a FIXME comment. 2002-10-07 00:35:44 +00:00
arensb acaffcf53e Added POD and some comments. 2002-10-07 00:34:24 +00:00
arensb f32b071f5c Fixed typo in synopsis. 2002-10-07 00:33:50 +00:00
arensb 3d22e58550 Fixed some bogosity.
Added some FIXMEs.
2002-10-05 23:59:40 +00:00
arensb c3a1bd7117 Replaced several prepare()/execute()/finish() sequences with do(). 2002-10-05 23:57:39 +00:00
arensb 45c739791e Added "preference" method, for fetching a single value from
systempreferences (which is all most scripts need).
2002-10-05 23:55:00 +00:00
arensb 6421ecc986 Added a couple of FIXME comments. 2002-10-05 17:17:20 +00:00
arensb ba786212eb Switched new functions to using C4::Context. 2002-10-05 16:55:09 +00:00
arensb f0d284e6bd Removed remnants of code that read /etc/koha.conf for itself. 2002-10-05 16:48:08 +00:00
arensb dbca39823f Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
2002-10-05 09:44:27 +00:00
arensb dbb94761cf Changed a function call to a class method call, and a few more anal
changes.
2002-10-03 16:15:10 +00:00
tipaul cbd283722e pod doc adding 2002-10-03 11:31:31 +00:00
tipaul f75126490d Extending Context.pm to add stopword management and using it in MARC-API.
First benchmarks show a medium speed improvement, which  is nice as this part is heavily called.
2002-10-03 11:28:18 +00:00
finlayt 772d5bc36c Added a field to the barcodes sql search, now it returns the holding branch as well. 2002-10-03 03:56:10 +00:00
arensb 39d7df4191 Fixed some run-time bugs, so it'll actually load. 2002-10-02 23:38:47 +00:00
arensb 64c01c3574 Fixed typos in POD. 2002-10-02 17:21:09 +00:00
arensb f46cb5b0a3 (added) Module for reading the config file and getting access to the
database.
2002-10-02 17:12:04 +00:00
tipaul 0d150edefe road to 1.3.1 2002-10-02 16:26:44 +00:00
tipaul 3c30f8b69e templating modifications to rspect finlay structure 2002-10-02 16:26:14 +00:00
arensb fbd7f81044 Added an incomplete POD, as well as some FIXME comments (which, as it
turns out, might not be necessary after all).
2002-10-01 13:22:02 +00:00
arensb 048d545d11 Added some FIXME comments, mostly marking duplicate functions. 2002-10-01 11:48:51 +00:00
arensb b5c2a888be Added some FIXME comments. 2002-09-28 04:58:18 +00:00
arensb 780b60f0d3 Added POD.
Removed extraneous trailing whitespace.
2002-09-28 04:56:26 +00:00
finlayt 13e7c898df Added the possiblity of deleting waiting reservesm or setting them back to not waiting.
uses UpdateReserve now, instead of updatereserves from Reserves2.pm
2002-09-27 05:21:44 +00:00
tipaul 3120194e94 long WAS the road to 1.3.0...
coming VERY SOON NOW...
modifying installer and buildrelease to update the DB
2002-09-24 13:49:26 +00:00
arensb 5087f3d208 Added POD. 2002-09-23 13:53:18 +00:00
arensb ca2aba8788 Added POD.
Removed unnecessary trailing whitespace.
2002-09-23 13:52:38 +00:00
arensb 4478773b2d Fixed missing bit in POD. 2002-09-23 13:50:30 +00:00
arensb a26ac73061 Fixed missing bits in POD. 2002-09-23 13:49:46 +00:00
arensb 4d8413ab87 Added POD.
Added some FIXME comments.
Removed useless trailing whitespace.
2002-09-22 17:29:17 +00:00
arensb 4bddc658c2 Added some FIXME comments. 2002-09-22 16:49:20 +00:00
arensb c09e821d8c Added POD. 2002-09-22 05:38:32 +00:00
arensb 01e1912093 Added PODs.
Removed a bunch of trailing whitespace.
Fixed &mkheadr to match the documentation.
2002-09-22 04:04:22 +00:00
arensb cf30cc742c Removed trailing spaces, especially those interfering with the POD. 2002-09-22 00:30:35 +00:00
tipaul 973334c26a long is the road to 1.4.0
* MARCadditem and MARCmoditem now wroks
* various bugfixes in MARC management
!!! 1.3.0 should be released very soon now. Be careful !!!
2002-09-20 12:57:46 +00:00
pate 500b95460e adding POD from Andres Arensburger 2002-09-20 12:49:47 +00:00
finlayt 70003da4ec Fixed the ordering of bibitems displayed in the request page. Most recent at top, ordered by dateaccessioned on the items table. 2002-09-19 00:24:27 +00:00
dnmeid adf1769e43 Added getpathtotemplate-function 2002-09-17 12:42:52 +00:00
rangi a68e85669b fixes for the ordering of the issues table in issues, and also on the
printed slip
2002-09-14 00:57:27 +00:00
tipaul de7dfb22fc MARC API continued...
* some bugfixes
* multiple item management : MARCadditem and MARCmoditem have been added. They suppose that ALL the MARC field linked to koha-item are in the same MARC tag (on the same line of MARC file)

Note : it should not be hard for marcimport and marcexport to re-link fields from internal tag/subfield to "legal" tag/subfield.
2002-09-10 13:53:52 +00:00
finlayt 4867288671 changed the way Waiting items are transfered from returns.pl to Circ2.pm 2002-09-05 00:16:39 +00:00
finlayt 69c03f2194 Little bug fixes. 2002-09-04 22:51:39 +00:00
finlayt f0244671c4 Bug fix in ReserveWaiting to make sure only the record found is marked waiting. 2002-09-04 22:31:06 +00:00
finlayt 4d9cb5162d rewrote CheckReserves so that it can be called with a barcode as well as on itemnumber. 2002-08-26 22:34:29 +00:00
finlayt 816520a4a1 Fixed up the display of bibitems, implemented some restrictions on which items can be reserved. 2002-08-22 02:31:58 +00:00
finlayt eb78ea1a41 minor changes to comments etc.... 2002-08-21 02:45:30 +00:00
finlayt 98239184b7 Fixed a bug in the reordering priorities in FillReserve and andother different bug in CheckReserves. 2002-08-21 01:31:16 +00:00
finlayt b195ac3625 removed the printreserve routine. It has been replaced by printslip. 2002-08-20 22:40:12 +00:00
finlayt 7eab6cbfda fixed up the CheckReserves.pm routine so that it does not put Referece items into "waiting" status if there is a reserve. Also fixed a bug in detail.pl. 2002-08-19 06:29:36 +00:00
finlayt 91fc634cdd Fixed a really terrible bug! Took out the fixpriorities call in FillReserve. This is not necesary because the priorities are fixed up when the item is set to waiting in ReserveWaiting. 2002-08-15 03:31:02 +00:00
finlayt 49e2aee04c Added some red color here into the message that appears when a waiting book is attempted to be issued. 2002-08-15 03:27:28 +00:00
rangi 6f9cbbda8a Fix for last borrower for the moredetail.pl page
sCVS:
2002-08-15 02:02:40 +00:00
tonnesen 1e67687742 Added copyright statement to all .pl and .pm files 2002-08-14 18:12:50 +00:00
finlayt 7cb45abb40 added a check in the returnbook subroutine that checks to see if a book has been cancelled: i.e. that the wthdrawn field has been set to 1. 2002-08-14 05:37:07 +00:00
finlayt 3045d3aa12 Changed the ItemInfo method. if an items "itemlost" field is 2, the 'duedate' is set to "Very Overdue". If itemlost = 1, duedate is set to "Lost". 2002-07-31 01:50:06 +00:00
finlayt c03d4f6f94 Fixxing bugs 2002-07-26 01:08:48 +00:00
finlayt 6eae239bb2 Changed FindReserves so that it gets biblioitem data if the reserve has a reserve constraint. 2002-07-25 21:41:10 +00:00
tipaul 0ae56dd011 pod documenting the API. 2002-07-25 13:40:31 +00:00
tipaul 9fb81afb85 Now, the API...
Database.pm and Output.pm are almost not modified (var test...)

Biblio.pm is almost completly rewritten.

WHAT DOES IT ??? ==> END of Hitchcock suspens

1st, it does... nothing...
Every old API should be there. So if MARC-stuff is not done, the behaviour is EXACTLY the same (if there is no added bug, of course). So, if you use normal acquisition, you won't find anything new neither on screen or old-DB tables ...

All old-API functions have been cloned. for example, the "newbiblio" sub, now has become :
* a "newbiblio" sub, with the same parameters. It just call a sub named OLDnewbiblio
* a "OLDnewbiblio" sub, which is a copy/paste of the previous newbiblio sub. Then, when you want to add the MARC-DB stuff, you can modify the newbiblio sub without modifying the OLDnewbiblio one. If we correct a bug in 1.2 in newbiblio, we can do the same in main branch by correcting OLDnewbiblio.
* The MARC stuff is usually done through a sub named MARCxxx where xxx is the same as OLDxxx. For example, newbiblio calls MARCnewbiblio. the MARCxxx subs use a MARC::Record as parameter.
The last thing to solve was to manage biblios through real MARC import : they must populate the old-db, but must populate the MARC-DB too, without loosing information (if we go from MARC::Record to old-data then back to MARC::Record, we loose A LOT OF ROWS). To do this, there are subs beginning by "ALLxxx" : they manage datas with MARC::Record datas. they call OLDxxx sub too (to populate old-DB), but MARCxxx subs too, with a complete MARC::Record ;-)

In Biblio.pm, there are some subs that permits to build a old-style record from a MARC::Record, and the opposite. There is also a sub finding a MARC-bibid from a old-biblionumber and the opposite too.
Note we have decided with steve that a old-biblio <=> a MARC-Biblio.
2002-07-24 16:11:37 +00:00
finlayt 55798ef08a commented out a warn or two... 2002-07-24 04:00:33 +00:00
finlayt 51e0e140c2 Fixed up the Print module. Added a function printslip that takes a string as an argument. It is easier to prepare the slip and then call the print function.
in circulation.pl I have moved some javascript out to the circulation-top.inc
2002-07-24 03:16:21 +00:00
finlayt 34aee13b95 fixed bug that kept asigning reserved books to the same person! 2002-07-24 03:01:17 +00:00
finlayt 4ec4fd9552 reactivated the printreserve method that is used to print a slip when a reserved book is returned. this is used in /circ/returns.pl 2002-07-23 03:32:42 +00:00
tonnesen dd541749fb Missing bracket 2002-07-22 20:45:47 +00:00
tonnesen b6f8a4a580 Cleaned up contents of location information 2002-07-11 05:48:01 +00:00
tonnesen 17388eccad Updates to authentications cripts. userpage.pl is the page for authenticated
users in the OPAC to set preferences, get personal information, etc.
2002-07-11 05:46:58 +00:00
tipaul 3c4ca5a444 *** empty log message *** 2002-07-10 13:58:43 +00:00
tonnesen 657685e1ac Auth.pm now caches form submissions and resubmits them if a user logs back in
after being logged out for inactivity.  Also switched from crypt passwords to
md5 passwords stored in borrowers table.  Used Digest::MD5 module.  I ain't
gonna reinvent _that_ wheel.  :)
2002-07-09 05:37:53 +00:00
tonnesen e30b2ea968 use warnings breaks perl 5.005 2002-07-08 16:45:34 +00:00
tonnesen 1a43c68fe3 Cookie bug. 2002-07-05 20:33:23 +00:00
tonnesen 259a4873fb Auth.pm now checks the password againts a new field in the borrowers table
(password).   There is also a new "userid" field in the borrowers table.  When
a user logs in, the userid will be checked against the userid first and the
cardnumber second, so either method will work.
2002-07-05 19:56:35 +00:00
tonnesen a66bcaa168 Minor changes to authentication routines. 2002-07-05 05:03:36 +00:00
tonnesen bdee484019 Checks for a basic authentication userid. If found, it skips the cookie stuff.
Also now supports scripts that do not _require_ authentication, but might
display differently if they get an authenticated userid (might be useful for
opac pages, where pages could be tailored to meet a patron's preferences).
2002-07-04 21:22:21 +00:00
tonnesen 185adfbfe7 Additions to authentication scheme. Logs to /tmp/sessionlog. Will move this
to a db table.
2002-07-04 21:09:43 +00:00
tonnesen 62e0baa92a Minor changes 2002-07-04 19:42:48 +00:00
tonnesen 60a72c67fe Beginning of authentication api. Applied to shelves.pl for now as a test case. 2002-07-04 19:21:29 +00:00
tipaul 528f1b2b80 Long is the road to MARC..
Not related to MARC :
* removed HLT- empty link when no basket for a supplier (should be useful to copy this into rel-1-2 i think)
* fixed some "use of uninitialized value"
related to MARC
* changed use Acquisition to use Catalogue, new package for MARC management

For instance, nothing is done to MARC DB, but structure is modified (see Biblio.pm for details), and everything seems to work : it's still possible to use acqui, and it fills old-DB pretty good.

WARNING : if you work on main trunk, please note Acquisition.pm is NO MORE USED in /acqui/ system. Every sub in Acquisition.pm has been moved to Biblio.pm or Catalogue.pm.
2002-07-04 15:53:02 +00:00
tipaul ec25ca4dfd bugfix from merging 2002-07-04 12:28:54 +00:00
tipaul 057fd6af5c merging 1.2 and main branches 2002-07-03 12:41:01 +00:00
tonnesen 17bb4d7343 Fixed bug in checkvalidisbn() 2002-07-03 03:18:50 +00:00
rangi d6f9a61c7d Fixed so datelastseen is updated on the item record for every issue or return 2002-07-02 23:31:33 +00:00
tonnesen 68e13b2c78 Removed use warnings; which breaks perl 5.005 2002-07-02 20:49:44 +00:00
tonnesen 1a6b88483f module added from rel-1-2 branch 2002-07-02 20:31:33 +00:00
tonnesen dcfb3b835c Merged SimpleMarc.pm over from rel-1-2 2002-07-02 20:30:15 +00:00
tonnesen 40bffc1f0e Merged in updates from rel-1-2 2002-07-02 17:48:06 +00:00
tipaul 004519edbc Merge from 1.2 and main branches 2002-07-02 15:46:42 +00:00
tipaul 33947ff039 merging 1-2 and main. 2002-06-28 08:53:51 +00:00
tonnesen 1ac576e81b removed "use warnings" 2002-06-24 21:54:44 +00:00
tipaul 3bee5b5743 * Acquisition synchronised with rel-1-2
* Update of biblio.pm and catalogue.pm that continuates MARC stuff. Lot of explanations at the beginning of Biblio.pm
2002-06-20 21:07:30 +00:00
tonnesen d6e7293f76 Cosmetic change. Merged with rel-1-2 2002-06-20 20:43:26 +00:00
tonnesen cceee9e230 Merged changes from rel-1-2 2002-06-20 20:41:21 +00:00
tonnesen 1929403b8f Merged with rel-1-2 copy 2002-06-20 20:31:01 +00:00
tonnesen 264b8f0093 Merged changes from rel-1-2 branch version 1.21.2.1, all fixes to warnings 2002-06-20 20:10:08 +00:00
tonnesen 6897cec04d Most of these merges are just removing unused parts of the perl modules. 2002-06-20 18:56:52 +00:00
tonnesen d3af19dcb2 Are we getting sick of merging yet? Not me! 2002-06-20 18:04:45 +00:00
tonnesen 29b4d2d534 merges from rel-1-2. Starting to get a little longer now. Being very
careful.
2002-06-20 17:57:11 +00:00
tonnesen cb7441a537 More merges in from rel-1-2
All of the changes so far have been minor.  I did uncomment delbiblio($biblio)
in delbiblio.pl in the main branch to match delbiblio.pl in rel-1-2
2002-06-20 17:33:07 +00:00
rangi 78c976aa0f issues printing issue slips again 2002-06-18 22:46:59 +00:00
tipaul 3d7df52b0d Going to MARC 1.4...
0- Requires MARC::Record from cpan to work

1- divided Catalogue.pm in 2 parts :
Biblio.pm ,that contains biblio management
Catalogue.pm, that contains acquisition management.
When ended, they will replace the Acquisition.pm package

2- Created MARCxxx functions :
* MARCgetbiblio : retrieves a MARC::Record from the bibid passed in parameter (working, see test.pl script)
* MARCaddbiblio : creates a MARC-DB entry, for a MARC::Record given as parameter. (working)
* MARCmodsubfield : modifies a subfield for a given subfieldid
* MARCfingsubfield : retrieves a subfieldvalue from a bibid/tag/subfield
* MARCaddsubfield : adds a subfield to biblio into the DB
* MARCkoha2marc : builds a MARC::Record, given a biblionumber, a biblioitemnumber and/or an itemnumber. (working).


TODO :
A lot ;-))))
For instance, you can create only a MARC-DB entry from a old-DB entry. Note some questions are still to solve around bibid (old-DB/MARC-DB)...
2002-06-14 16:47:33 +00:00
rangi 49e2b90a8b Fix to get list of overdue items showing correctly 2002-06-13 03:16:55 +00:00
tipaul 503066d538 MARC stuff : beginning to use MARC::Record package. 2002-06-10 20:49:54 +00:00
tipaul 56d4ac55a7 today stuff around marc. Will change soon as we will use MARC::record (see marcpm.sourceforge.net) 2002-06-06 16:23:36 +00:00
finlayt c3820fa998 fixed bug http://bugzilla.katipo.co.nz/show_bug.cgi?id=1284
If an item doesnt have a holdingbranch it just shows blank instead of not appearing at all.
2002-06-06 04:15:18 +00:00
finlayt 89026ec754 Changed the issuebook routine to use the new methods from C4::Reserves2.pm 2002-06-06 02:48:53 +00:00
finlayt 0e69a3906e improved all the code so that priorities are reset properly. 2002-06-06 02:47:53 +00:00
tipaul 0595587f93 test.pl, contains a script to test the Catalogue.pm stuff.
Catalogue.pm : marc stuff :
* the 3 xxxSubfield functions works
* the addMarcBiblio function has been added : if you pass it a perlmarcstructure (sample in test.pl and explanation in marc/perlmarcstructure file), it adds a biblio to the marc_schema. The newbiblioitem (old koha-DB) still has to be updated to build the perlmarcstructure internally and call addMarcBiblio function.
2002-06-04 16:08:47 +00:00
tonnesen 02fc6654ec Started modifications to match new marc schema 2002-05-29 22:47:20 +00:00
finlayt a6dd1bcf44 Changed the returnbook method to use CheckReserves instead of FindReserves. 2002-05-29 05:52:12 +00:00
finlayt 970081fb49 Some small changes in transferbook: uses the new Reserves2.pm methods. 2002-05-29 04:40:15 +00:00
finlayt 7d603978ed Added some subroutines.
All reserve activity should go through these.
CheckReserves (search on itemnumber),
CancelReserve (manages priorities correctly)
ReserveWaiting (sets a reserve record to waiting and sorts other priorities)
2002-05-29 04:39:12 +00:00
amillar 7ebbc8311d Added "lccn" and "marc" fields to newbiblioitem 2002-05-23 22:59:37 +00:00
truth_nz cc840a7bfa Update to acqui.simple system. Hopefully this is a lot more user friendly.
Probably a few bug fixes to come still.
2002-05-22 18:35:25 +00:00
amillar 549677ee1b Fix typo in booksellerid field name 2002-05-21 06:19:48 +00:00
amillar 3b184ab85d Fix warning about use of undefined variable, found when endmenu
called from marcimport.pl
2002-05-21 06:15:41 +00:00
rangi 9775fedd9b Some minor changes to get detail.pl and moredetail.pl working nicely with
html::template
2002-05-21 01:17:44 +00:00
amillar 7c65ea04c5 Some cleanup, reformatting, fix some undeclared variables 2002-05-18 07:01:27 +00:00
tonnesen 86c0d5ce87 Few more changes... not much to look at yet, still wrapping my head around the
new schema
2002-05-16 23:08:05 +00:00
tonnesen 3437472f27 Starting rewrite of Catalogue.pm using Paul's new marc schema, and Alan's
koha-wide ban on $dbh->quote.  :)
2002-05-16 18:10:35 +00:00
truth_nz cefb0bb2c1 Fixed a few warnings. 2002-05-15 04:08:38 +00:00
rangi 1e647ae716 Shifted picktemplate out into C4::Output.pm 2002-05-14 23:13:23 +00:00
rangi 171372a9d0 Made a wrapper function catalogsearch
This then chooses whether to call KeywordSearch, or CatSearch, or any other
searches.
2002-05-14 21:36:39 +00:00
tipaul 64a90aec93 * getallorders now returns only not fully recieved orders 2002-05-14 09:12:43 +00:00
truth_nz bb8b344e40 Added code to allow deleting of biblioitems 2002-05-14 04:12:52 +00:00
tonnesen b7ad145cfe Calculate itemcount in Search.pm if using new template based search interface 2002-05-13 23:07:47 +00:00
tipaul c981ae9957 oops, removing 3 test lines... (ending by a die !) 2002-05-13 20:32:36 +00:00
tipaul c7d01057b9 Bugfixes : removes some hard coded trailing dates in select... 2002-05-13 20:22:24 +00:00
truth_nz da5071c2fd bug fix to actually save the changes made to an website biblioitem. 2002-05-13 00:45:46 +00:00
truth_nz 0747fb1fbb Changes to allow modifications to the website biblioitems
Changes to way that website biblioitems are shown on the details page
2002-05-12 18:08:17 +00:00
truth_nz 4915ed786c New files, and changes to add associated webstes to a biblio.
Adds a new table to database - so installer needs updating again.
2002-05-12 15:37:53 +00:00
rangi 05f7375ea9 Starting Makefile.PL and starting work on pod inside Search.pm 2002-05-11 01:50:35 +00:00
truth_nz 3e3b57dedf Update to catalogue to allow change of biblio abstracts.
Related modifications to acqui system to match changes in Acquisition.pm
detail.pm changed to show abstract - still working on how to show url's
2002-05-09 01:07:36 +00:00
rangi 3d854d01ef Making the CatSearch and KeywordSearch return more sane returns
Returns an array of hashrefs now, rather than the array of tab separated
strings it was returning before.
2002-05-07 00:08:20 +00:00
rangi c0fc669126 Removing keywordsearch2 (no longer used)
Fixing glitches in counting lost items.
In items
itemlost=1 item marked lost by a librarian
itemlost=2 item marked lost by kohas automatic this item is over 4 weeks
overdue routine.

To the borrowers (ie in the opac) they should just show as lost
2002-05-06 23:12:25 +00:00
finlayt fe88c2a022 Removed the "Item has been transfered" message from the returnbook2
subroutine.
2002-05-06 04:36:42 +00:00
finlayt ca7a9d7264 Changed the error message from: There is no book with barcode: XXXXXX
to: No item with barcode: XXXXXXX
2002-05-06 04:30:37 +00:00
truth_nz 073dc61c59 Bug fixes to get the new acqui.simple system working. 2002-05-03 02:47:33 +00:00
finlayt 9255f92b21 moredetail.pl presents circulation information taken from the
branchtransfers table

Circ2.pm has been changed a little

admin/branches.pl alows branches to be added, edited and deleted.

updatedatabase needs more fixing
2002-05-02 00:08:53 +00:00
rangi 8ea1f94eb7 Cleaning out all unused cruft.
C4Connect is the only function that was actually being used in this module
2002-04-30 09:21:03 +00:00
truth_nz 47c18cfcdc Modifications for new acqui.simple
Database includes new biblio abstract field and biblioitem url field
acqui/finishreceive.pl modified to use changed C4/Acquisitions.pm
2002-04-29 05:25:41 +00:00
finlayt 4ecb80c5f2 Fixed typo 2002-04-23 00:34:16 +00:00
finlayt d239497209 fixed typo 2002-04-22 22:47:09 +00:00
rangi 9144d67850 Fixing bug reported by Steve,
Couldnt remove an additional Author when modifying a biblio
2002-04-21 06:33:32 +00:00
saas ffc98bebe4 Correct spelling - aquisitions to acquisitions 2002-04-21 04:45:21 +00:00
pate 214257b1d8 starting to move ethnicity stuff out of programs and into modules 2002-04-17 21:35:53 +00:00
pate 2409d7fe90 moved ethnicity fixing out of moremember.pl into a function,
eventually to replace with a more configurable version (non-NZ specific)
2002-04-15 16:15:38 +00:00
truth_nz e1d7a81197 Acquisitions::newbiblioitem updated to be usable for new acqui.simple
addorder.pl and updatebibitem.pl modified to use new newbiblioitem
2002-04-15 05:33:33 +00:00
rangi b3375469e3 Fixing the subject search i broke ;) 2002-04-10 09:55:17 +00:00
rangi 132835283a Working on a fix to speed up title and author searches 2002-04-10 07:59:28 +00:00
truth_nz 51ee67d237 Altered newbiblio to be more generic - so can use with new acui.simple
scripts (which are not finished yet).
2002-04-10 05:49:17 +00:00
pate 0376493cd4 refactored slashifyDate function out of inline code, created C4/Koha.pm
to hold it and wrote tests for it, started marking other places for
potential refactoring.
2002-04-08 23:44:43 +00:00
rangi 3eecf2956e Deals with lost book charges now 2002-03-17 02:58:00 +00:00
finlayt 314e80a9e9 Added a transferbook subroutine that is called from /circ/branchtransfers.pl
It writes a new line in the branchtransfers table and changes the
currentbranch field in items.
2002-03-13 21:13:42 +00:00
rangi c2eb80ce60 Tidy up, removing deprecated routines 2002-03-13 07:36:49 +00:00
rangi 204ff647f3 Getting Iteminfo in Search to only display correct reserves (mainly used on
detail.pl) and another typo fix in moremember.pl
2002-03-13 03:26:43 +00:00
rangi 5849a03b30 Fix so that reserves are only showing for the biblioitem not the biblio on
the moremembers screen
2002-03-13 02:03:56 +00:00
rangi 0b9ab3723f Fix for manual invoices 2002-03-11 03:36:41 +00:00
rangi 0f23c6e75d Fixed apostrophe ' handling 2002-02-26 09:31:14 +00:00
rangi 8e8455789f Making a "fix" to normal title search 2002-02-20 21:05:19 +00:00
rangi bbb2008246 Playing with keyword search trying to speed it up more 2002-02-20 20:53:29 +00:00
rangi 4c20707e76 Fixing bug in subject searching that was causing subjects with ' to break
the search
2002-02-12 21:31:41 +00:00
rangi a9f5a8b858 Fixing bug that was duplicating additional authors, and a bug that was
breaking the updating classicification field
2002-02-12 21:07:21 +00:00
rangi 1a3d705dab Added the facility to restrict a keyword search by dewey number 2001-12-12 02:31:28 +00:00
rangi bb7b308682 Fixing error in keyword search (fixing my mistake from yesterday) 2001-11-27 02:01:39 +00:00
rangi 8ad078f97e Fixing a bug in keyword search was duplicating results 2001-11-26 04:33:42 +00:00
rangi e21914e425 Added a findguarantor routine to search for the guarantor of a given borrower.
Probably it and findgurantees need to moved out to borrowers.pm
2001-11-26 00:41:34 +00:00
rangi 7a7465fe05 Author combined with Title search was not searching the series title field
Fixed now
2001-11-25 22:25:55 +00:00
rangi 79ebd030d6 Fixing reserve handling.
Mulitple copy reserves now handled correctly, and correct charges are being
applied
2001-11-25 20:17:53 +00:00
rangi 501cc61c85 Adding the facility to search on just dewey and class 2001-11-23 02:12:48 +00:00
tonnesen 0ac91af069 Working out problems with MARC record support. 2001-11-06 18:15:34 +00:00
tonnesen 07e2e3780a Minor cleanups. Needs testing. Starting to think about modifying
updatebiblio.pl to use this API.
2001-11-03 07:29:36 +00:00
tonnesen aa97d73b39 Typo in printf format string was causing all issues to appear in the
Previous issues box and not in today's issues.
2001-10-10 19:28:05 +00:00
tonnesen 33ab2526f3 Changed search interface to allow searches on Illustrator. This is
apparently a common search in elementary school libraries.
2001-10-05 20:13:20 +00:00
tonnesen 1e2d6c40c3 Tested updateItem subroutine, made some better checks for Subfield_IDs and
Subfield_Keys when modifying MARC data based on changes to Koha data.
2001-09-27 20:39:59 +00:00
tonnesen 245d7a8adc Started on updateItem subroutine. 2001-09-27 19:24:18 +00:00
rangi 89cbfd3cd0 Fixing a glitch that was showing the biblio notes field where the
biblioitems notes should have been displaying
2001-09-10 23:37:09 +00:00
tonnesen b179127d7c Finished updateBiblioItem subroutine 2001-06-26 22:27:12 +00:00
tonnesen 6269ad87bf newBiblio subroutine completed. 2001-06-26 21:13:01 +00:00
tonnesen aab6b66555 Added biblioitems table update when newBiblioItem() routine is called. 2001-06-26 20:17:35 +00:00
tonnesen 3f3ae4cda2 Beginning updateBiblio routine. 2001-06-26 17:15:13 +00:00
tonnesen 6650354d23 Added skeletons of update routines. 2001-06-25 19:43:59 +00:00
tonnesen 58b7c86d13 Cataloguing API. Very early draft at this point. 2001-06-25 18:49:34 +00:00
rangi c74ad16d2e Made a little change to allow the reading record to be sorted, and now
defaults to the last 50 items borrowed
2001-06-20 03:36:01 +00:00
rangi 2dc62d4bc4 More little bug fixes in the manual credits section 2001-05-15 23:05:43 +00:00
rangi 9eee24c9a2 Changed the way a lost book being returned is handled.
If the book has already been paid for a credit is added to their account.
And offset against any current charges
2001-05-09 23:29:00 +00:00
rangi a254455342 Added facility to do a cash refund.
Also HLT allows ppl to work off their bill,so added a facility to do manual
credit for that
2001-05-09 23:22:10 +00:00
rangi f72283e23f Renewing a rental or pay item from the borrowers record screen
Now adds a charge to the borrowers account
2001-05-09 00:05:57 +00:00
tonnesen 91ac7223f6 Steve Tonnesen's K12Admin-specific (for the time-being) group based
overdue reports.
2001-05-02 23:06:44 +00:00
tonnesen 3fd3b300c4 Added an overdue variable to the itemdata returned by the currentissues
subroutine.  This makes it easier to pick out overdue items in other
modules (ie circulation, reports, etc.)
2001-05-02 22:38:26 +00:00
rangi 4680c9e98a Fixed the code that adds a credit or wipes a lost book charge from a
borrowers account if said book is returned
2001-05-02 21:15:22 +00:00
rangi 462acc56e4 Added functions to add credits and invoices to borrowers account 2001-05-02 21:13:15 +00:00
rangi 8f0109b7c8 Fixed a bug in the return lost routine (when a payment is made on a lost item)
So that the correct date was being recorded
2001-05-01 23:24:50 +00:00
rangi 5f8d3937df Add functionality so that when the replacement cost of a lost item is paid
Its returned off the members/patrons card. And a note is placed on the item
saying that its been paid for.
The item stays marked as lost. But the patron does not accrue more fines
2001-04-18 02:51:18 +00:00
rangi b2c9dabcf1 Making a change to the way charges are handled, the system originally worked such that if a borrower owed more than $5 issues werent allowed. This worked fine except that often borrowers wish to borrows say 3 pay videos at $2 each, then 2 books say. The three pay videos rack up charges of $6 and then they cant issue the books until that is paid.
Reworked so that it cares about previous charges, not the ones accrued during current issue process.
2001-04-03 21:32:37 +00:00
rangi fb870fb2c8 Reworking statistics for payments and writeoffs 2001-04-02 22:51:26 +00:00
rangi fe1fab2ab5 Reworked layout of issues section. 2001-03-28 02:23:03 +00:00
rangi e295b51570 Modified the update stats routine to store borrowernumbers also
Passing borrowernumbers to update stats from Account routines
2001-03-27 21:43:37 +00:00
rangi 53f147a340 Added functionality to allow invalid itemtype to be fixed 2001-03-15 10:15:51 +00:00
rangi 4d35327d19 Got undeleting biblios going (catalogue maintenance should probably be in a
password protected super librarian area or the like)
2001-03-13 22:04:04 +00:00
rangi 6bd59eeef7 Little fix to the returnbook routine so the correct branchcode is passed to the updatestats routine 2001-02-18 22:13:26 +00:00
rangi de38567887 Made some changes to checkreserve and find_reserves, so that items are always displayed as reserved when returned, not just once 2001-02-14 00:27:36 +00:00
tonnesen 401aada2ac Added header and log substition variables 2001-02-07 23:47:43 +00:00
tonnesen 1159649fe8 Start of code to implement virtual bookshelves in Koha. 2001-02-07 20:27:16 +00:00
tonnesen 0d4c0ffb84 loadmodules.pl allows redirection to different modules based on systemprefs
Added subroutine in Search.pm load systemprefs from new systempreferences
table in database.  Initial use is to allow using my simplified acquisitions
module in place of vendor-based acquisitions module.  Default is vendor-based
module.
2001-02-05 18:48:15 +00:00
tonnesen ee184dc80b Added a couple of missing $dbh->disconnect lines that were logging errors
in apache log files.
2001-02-05 17:47:58 +00:00
rangi 3b07c5bf30 Fixing printing error, now is printing all of the days issues for borrower 2001-02-04 22:25:42 +00:00
rangi cf3086c7da Attempting to get issues slip to print when borrower is finished with 2001-02-01 02:08:34 +00:00
rangi 74aa1d1edd Fixed a little bug in getiteminformation, it wasnt returning item loanlength 2001-01-31 22:09:31 +00:00
rangi dea0fd150d Added a line to Ouput.pm to enable circulation to use its own includes
Changed the look of circulation.pl to the green/yellow colours

Note: Steve, i added another variable $backgroundimage that sets the background image for the main tables, so it should be straightforward to change the look back to the colours you had if you want to
2001-01-31 21:38:43 +00:00
tonnesen f7953fecf3 Return itemlist array, and itemlisttext (text version of overdues) with
overdue flag in getpatroninformation()
2001-01-31 18:13:38 +00:00
tonnesen ee5ba729f3 Returns module lists recently returned items, cookies used to store branch
and printer preferences.
2001-01-26 00:17:00 +00:00
tonnesen d389b68e6d Refined Returns module.
Added ability to select branch and printer.
Fixed charges for rental items.
2001-01-25 00:01:34 +00:00
tonnesen eaa9677292 Changes to web circulation module: rudimentary returns module, arbitrary
due date for issues, flag info displayed, overdue books are displayed in
red.
2001-01-23 23:48:54 +00:00
tonnesen 3186e690ce Fixed a bug in issuing reserved books. Was calling non-existent
printreserve subroutine
2001-01-23 00:12:49 +00:00
tonnesen 7c52cda9d6 Started work on a web-based circulation interface. 2001-01-22 23:48:41 +00:00
tonnesen e6d86cdd17 Added support for showing patron flags in the issues module.
Moved popup message windows to a Toplevel widget instead of a message
widget.  Toplevel widgets come up much faster than message widgets.
2001-01-17 23:45:50 +00:00
rangi e6fb400c7d Fixing a glitch in the fines routine, was failing if adding a new fine to
the same user for the same item
2001-01-16 23:34:29 +00:00
tonnesen e16ba0cb0a API for circulation modules 2001-01-15 19:31:41 +00:00
tonnesen 8b421dd4cc Renamed koha.conf config entry from "path" to "includes", which is more
meaningful in the koha.conf file.
2001-01-05 17:47:20 +00:00
tonnesen 21b18bf675 Modified getbranch() and getprinter() subroutines to not pop up a menu if
there is only one branch or one printer, but just select the single option
automatically.
2001-01-05 17:39:25 +00:00
tonnesen 1c9ef0371f Added support for moving path=... variable to /etc/koha.conf 2001-01-05 16:30:45 +00:00
rangi 80a0cb638e Shifted Database connection variables out into a configuration file
The permissions on this config file should also be strict, since they contain
the database password.
At a minimum, the apache user needs to be able to read it, as well as any other user that runs circ.
I would suggest ownership of www-data.libadmins with no access to others.
libadmins contain all users that use circ

destined for v1.08
2000-12-21 19:56:43 +00:00
rangi d0374d0037 Initial revision 2000-12-19 23:45:51 +00:00