Commit graph

1293 commits

Author SHA1 Message Date
rangi
e1353fb639 Fix for bug 1314 manual credits broken 2007-07-02 00:44:25 +00:00
rangi
c75b84fac7 Fix for bug 1365 2007-07-02 00:38:17 +00:00
rangi
ba52d15f7b Making transferbook update the last seen date of the item transfered 2007-07-01 23:56:43 +00:00
hdl
0a9ee0c59b Changing GetSerials2 to take more than one status in parameter.
status=1,3
will display all the serials late and waited.
2007-06-30 05:26:25 +00:00
hdl
7881f45fde Removing some Warnings. 2007-06-27 22:09:15 +00:00
hdl
4bae56fcc1 Bug Fixing.
Problem in number calculation.

BEWARE... For old serial number calculation, the numbering_pattern should be set to None of the above, that is 7 and not 1 or 2...
2007-06-27 22:08:00 +00:00
hdl
5292b2c0fc Bug Fixing.
An inconsistency in function signature caused a shift between date received and publication date.
2007-06-27 15:10:44 +00:00
hdl
aa42aa7f95 Bug Fixing.
IndependantBranches would lead to void information in GetSubscription because select was for "''" and not ""
2007-06-27 14:54:55 +00:00
toins
5e5619119e removing '-' in isbn to allow amazon content. 2007-06-26 15:43:55 +00:00
tipaul
8581fe4bbd updating web installer : going to step1 if needed and fixing sql 2007-06-26 14:30:22 +00:00
tipaul
3e87f37216 why was title ordering on 1=36 ? in ccl.properties, it s 1=4. (1=36 being for title-cover)
thus, the title sorting was not working. This commit fixes the problem.
LIBLIME : verify I am right in the analysis and in the fix, it is a part mostly written by joshua
2007-06-26 09:20:21 +00:00
tipaul
4843b7e49c just reindent 2007-06-25 15:05:18 +00:00
tipaul
014350b476 bugfixes on unimarc 100 handling (the field used for encoding) 2007-06-25 15:01:45 +00:00
toins
b41c3087b6 missing comma :-/ 2007-06-20 09:45:09 +00:00
toins
d4fbf8c49a writing charset explicitly. 2007-06-19 15:14:08 +00:00
toins
dd7718af2e enable to search on subject with nozebra 2007-06-15 16:32:44 +00:00
tipaul
23427c51b9 some fixes (and only fixes) 2007-06-15 13:44:44 +00:00
toins
95f4785d58 do not get $3 $4 and $5 on GetMarcSubjects GetMarcAuthors on unimarc flavour. 2007-06-15 09:40:06 +00:00
toins
38f7d2148a removing warn compilation. 2007-06-13 13:03:34 +00:00
tipaul
5dd3f0229a bugfixes (various), handling utf-8 without guessencoding (as suggested by joshua, fixing some zebra config files -for french but should be interesting for other languages- 2007-06-06 13:08:35 +00:00
toins
104925e9ac re introducing TotalPaid function as circ/stat.pl use it. 2007-06-05 10:01:17 +00:00
tipaul
6f276facc8 removing guessencoding, hard-coding utf-8 2007-06-05 08:53:19 +00:00
tipaul
a0ca85b917 BugFixing CanBookBeRenewed was too strict. If a book could be renewed 1 time, it wouldnot do. 2007-05-30 09:12:36 +00:00
tipaul
c8c6012195 merging opac details only for items with the same branch+location+itemcallnumber && putting publisher before publicationyear && lowering item column size in result page && fixing a missing branch reference in ccl.properties 2007-05-28 16:28:43 +00:00
hdl
b81db9061d Deleting $year paramater in GetBookfundBreakdown 2007-05-28 15:26:43 +00:00
tipaul
c5999dbbbd BUG FIXING :
Serials.pm was not Mysql5 compliant.
(FROM table1, table2 changed to
FROM table1 LEFT JOIN table2 ON....
)
2007-05-25 15:14:43 +00:00
hdl
3286b06607 Changing signature for NewIssue
(To be more unify to other subs signature)
2007-05-24 16:11:39 +00:00
hdl
9381ad2b33 Bug Fixing.
irregular serials are now managed in HasSubscriptionExpired
and abouttoexpire.

Be WARN that Date::Calc is very picky about Date format.
So that null dates are throwing 500 Error.

But Now this should be seldom.
2007-05-23 19:57:47 +00:00
tipaul
25c1d9c35a Bug Fixing :
managing abouttoexpire function for irregular serial

Need more work.
HDL from Paul's machine
2007-05-23 17:35:59 +00:00
tipaul
67d1dcf1f7 various bugfixes (minor) and french translation updated 2007-05-23 16:19:40 +00:00
tipaul
5ff7fcffa4 Bugfixes & improvements (various and minor) :
- updating templates to have tmpl_process3.pl running without any errors
- adding a drupal-like css for prog templates (with 3 small images)
- fixing some bugs in circulation & other scripts
- updating french translation
- fixing some typos in templates
2007-05-22 09:13:54 +00:00
hdl
286930bdc7 Changing GetMarcStructure signature.
Deleting first parameter $dbh
2007-05-22 08:50:47 +00:00
btoumi
1e21ba6968 add security when u delete biblio :
u must delete linked items before delete biblio
2007-05-21 08:44:17 +00:00
btoumi
c73cb186f8 bug fix :
add sql condition to recover only the right record from issues table
2007-05-21 07:45:45 +00:00
btoumi
a80a0a7edc bug fix: add call of two function from Date::calc
and  correction of wrong   variable name
2007-05-18 12:30:27 +00:00
hdl
97bb46d454 Adding First tab information 2007-05-18 09:23:49 +00:00
btoumi
100385ab29 bug fix:
problem in  displayed label link  with subject in detail.tmpl
ex: label random => rdom
2007-05-11 16:04:03 +00:00
btoumi
c49fb53a45 add security for the item barcode 2007-05-11 14:49:54 +00:00
btoumi
a6db242492 add control of 'return date' if it 's a special or repeatable holidays , and return a right return date 2007-05-10 15:56:53 +00:00
tipaul
ca201e36af Koha NoZebra :
- support for authorities
- some bugfixes in ordering and "CCL" parsing
- support for authorities <=> biblios walking

Seems I can do what I want now, so I consider its done, except for bugfixes that will be needed i m sure !
2007-05-10 14:45:15 +00:00
kados
b78821528b fixing minor typo, need space after the operators 2007-05-09 19:42:48 +00:00
kados
5f05fb19d0 Fix for bug 1249: Searching for a title beginning with And, Or, or Not
results in an error
2007-05-09 19:39:02 +00:00
tipaul
847b82ff23 NEW feature : RSS feeds. See POD & koha-devel for details 2007-05-09 10:09:40 +00:00
btoumi
998e68c351 bug fix : adding condition for create the right notify_id 2007-05-07 14:57:01 +00:00
tipaul
712e83b2ba adding short keyword support (ti for title, au for author, some still to do) 2007-05-04 16:26:16 +00:00
tipaul
e1d907c688 various bugfixes on parameters modules + adding default NoZebraIndexes systempreference if it's empty 2007-05-04 16:24:08 +00:00
tipaul
35fae6a9e4 bugfixes for acquisition module 2007-05-04 13:59:53 +00:00
tipaul
c141db8ee9 bugfixes for NoZebra : handling results_per_page and adding NoZebra support to SimpleSearch 2007-05-04 13:59:16 +00:00
tipaul
03e2d1f969 BUGFIX for : NoZebra
- NoZebra features : seems they work fine now (adding, modifying, deleting)
- Biblio edition major bugfix : before this commit editing a biblio resulted in an item removal in marcxml field
2007-05-03 15:16:02 +00:00
tipaul
3e85c9e97f NoZebra SQL index management :
* adding 3 subs in Biblio.pm
- GetNoZebraIndexes, that get the index structure in a new systempreference (added with this commit)
- _DelBiblioNoZebra, that retrieve all index entries for a biblio and remove in a variable the biblio reference
- _AddBiblioNoZebra, that add index entries for a biblio.
Note that the 2 _Add and _Del subs work only in a hash variable, to speed up things in case of a modif (ie : delete+add). The effective SQL update is done in the ModZebra sub (that existed before, and dealed with zebra index).
I think the code has to be more deeply tested, but it works at least partially.
2007-05-02 16:44:31 +00:00
tipaul
4213b6ec98 improving NOzebra search :
- changing nozebra table to have biblionumber,title-ranking; (; is the entry separator. Now, if a value is several times in an index, it is stored only once, with a higher ranking (the ranking is the number of times the word appeard for this index)
- improving search to have ranking value (default order). The ranking is the sum of ranking of all terms. The list is ordered by ranking+title, from most to lower
2007-05-02 11:57:11 +00:00
hdl
ae56dd4f03 Commiting necessary subs for bulkedition. 2007-04-30 14:29:21 +00:00
tipaul
be61c6558d koha NZ speed improvement for title ordering 2007-04-27 19:57:12 +00:00
hdl
097fef712a Removing $dbh from GetMarcFromKohaField (dbh is not used in this function.) 2007-04-27 14:00:48 +00:00
tipaul
b53be9cdaf Koha 3.0 nozebra 1st commit : the script misc/migration_tools/rebuild_nozebra.pl build the nozebra table, and, if you set NoZebra to Yes, queries will be done through zebra. TODO :
- add nozebra table management on biblio editing
- the index table content is hardcoded. I still have to add some specific systempref to let the library update it
- manage pagination (next/previous)
- manage facets
WHAT works :
- NZgetRecords : has exactly the same API & returns as zebra getQuery, except that some parameters are unused
- search & sort works quite good
- CQL parser is better that what I thought I could do : title="harry and sally" and publicationyear>2000 not itemtype=LIVR should work fine
2007-04-25 16:26:42 +00:00
hdl
506c2e8972 Deleting Sub GetBorrowerIssues. 2007-04-25 14:09:10 +00:00
hdl
a171035f1d GetBorrowerIssues is deleted from C4::Circulation
Use GetPendingIssues from C4::Members instead.
2007-04-25 14:07:34 +00:00
hdl
fb1e47e435 Deleting GetMembersFromSurname
Using SearchMember instead.
2007-04-25 13:38:00 +00:00
tipaul
fb143b71ba BIG COMMIT : cleaning of Reserves.pm. See detail on koha-devel 2007-04-24 16:10:36 +00:00
hdl
b642e687d2 Still Code Cleaning.
Abiding by Name Convention.
Using Members wherever it should be used.
Borrower is only used for borrower Categories.
+ GetBorrowersWhoHaveNeverBorrowed
and lists like that.
2007-04-24 15:41:27 +00:00
hdl
7d8e8b0bf6 BugFixing :
GetBorrowerAcctRecord now takes a date.
2007-04-24 14:17:24 +00:00
hdl
8697313a97 Deleting Interface/CGI/
Output and Template modules.
2007-04-24 13:58:11 +00:00
hdl
d4430fd6d6 Continuing Code Cleaning. 2007-04-24 13:57:13 +00:00
hdl
100e6a9808 functions that were in C4::Interface::CGI::Output are now in C4::Output.
So this implies quite a change for files.
Sorry about conflicts which will be caused.
directory Interface::CGI should now be dropped.
I noticed that many scripts (reports ones, but also some circ/stats.pl or opac-topissues) still use Date::Manip.
2007-04-24 13:54:28 +00:00
tipaul
4dea4d29b3 moving dotransfer to Biblio.pm::ModItemTransfer + some CheckReserves fixes 2007-04-24 09:07:53 +00:00
tipaul
9f42b8ad49 renaming currenttransfers to transferstoreceive 2007-04-23 15:21:17 +00:00
tipaul
3ddec89262 moving Reserves2.pm to Reserves.pm 2007-04-23 14:08:47 +00:00
tipaul
d6b7ca12b0 code convention for SQL 2007-04-23 14:06:18 +00:00
tipaul
111d590e9c reintroducing fixaccountforlostandreturned as requested by rosalie 2007-04-23 13:17:52 +00:00
hdl
0b66bd800d Code Cleaning Members.
- checkaccount and getborraccountno => GetBorrowerAcctRecord

Many changes in names,
some changes in function signature.
Will be detailed in a mail to kohadevel.
2007-04-23 13:10:07 +00:00
tipaul
7bd99ef365 removing all useless %env / $env 2007-04-18 17:00:14 +00:00
tipaul
5af8ae975b removing "department" and replacing by items.location 2007-04-18 14:20:54 +00:00
tipaul
43ad7fb4df circulation cleaning continued: working on branchtransfers.pl (unfinished, but at least it compiles... 2007-04-17 16:24:59 +00:00
tipaul
b71839d85c circulation cleaning continued: bufixing 2007-04-17 08:44:49 +00:00
hdl
66232241c1 Adding Check for a systempreference Version Variable
skips third party software check and mysql check to go to updatedatabase.

Adding similar check to intranet and opac.

BEWARE !!!!!
You may be linked to install if you donot have Version variable set in your systempreferences table.
If so, simply updatedatabase OR add Version 3.0  record to your systempreferences table.
2007-04-06 15:53:18 +00:00
hdl
b767f50c8f Code Cleaning : AuthoritiesMARC. 2007-04-06 14:48:45 +00:00
btoumi
8489ddc0f1 bug fix : add another security in check of notify_id 2007-04-05 15:55:56 +00:00
btoumi
fd150f2413 bug fix : add security in check of notify_id 2007-04-05 14:08:17 +00:00
btoumi
0b7d7e8c35 add "sort by" with heading-entity in authorities search 2007-04-05 12:17:55 +00:00
hdl
e86eb18b40 Adding Circulation and Overdues modules 2007-04-05 08:53:31 +00:00
btoumi
e469e70f3b add "and" condition for branch when search is built (in advanced search) 2007-04-05 07:29:27 +00:00
tipaul
c596d55374 HUGE COMMIT : code cleaning circulation.
some stuff to do, i'll write a mail on koha-devel NOW !
2007-04-04 16:46:22 +00:00
tipaul
e42c4306a2 oups, fixing bug in EXPORT... 2007-03-30 13:30:36 +00:00
tipaul
83c378e2ed removing useless package 2007-03-30 12:25:12 +00:00
tipaul
23f86854e0 why the hell do we need to explicitly utf8 decode this string ? I really don't know, but it seems it's mandatory, otherwise, tag descriptions are not properly encoded... 2007-03-30 12:00:42 +00:00
tipaul
e5de5b5e2c some cleaning (minor, the main one will come later) : removing some unused subs 2007-03-30 11:59:16 +00:00
tipaul
8630cd4ad3 removing useless package (copy of C4::Date) 2007-03-30 11:58:02 +00:00
btoumi
39b7f58aa2 add security on borrowernumber,barcode for book issues 2007-03-30 08:38:44 +00:00
tipaul
eba2552086 Code cleaning of Biblio.pm (continued)
All subs have be cleaned :
- removed useless
- merged some
- reordering Biblio.pm completly
- using only naming conventions

Seems to have broken nothing, but it still has to be heavily tested.
Note that Biblio.pm is now much more efficient than previously & probably more reliable as well.
2007-03-29 16:45:53 +00:00
tipaul
a481fad4b7 Code cleaning :
== Biblio.pm cleaning (useless) ==
* some sub declaration dropped
* removed modbiblio sub
* removed moditem sub
* removed newitems. It was used only in finishrecieve. Replaced by a Koha2Marc+AddItem, that is better.
* removed MARCkoha2marcItem
* removed MARCdelsubfield declaration
* removed MARCkoha2marcBiblio

== Biblio.pm cleaning (naming conventions) ==
* MARCgettagslib renamed to GetMarcStructure
* MARCgetitems renamed to GetMarcItem
* MARCfind_frameworkcode renamed to GetFrameworkCode
* MARCmarc2koha renamed to TransformMarcToKoha
* MARChtml2marc renamed to TransformHtmlToMarc
* MARChtml2xml renamed to TranformeHtmlToXml
* zebraop renamed to ModZebra

== MARC=OFF ==
* removing MARC=OFF related scripts (in cataloguing directory)
* removed checkitems (function related to MARC=off feature, that is completly broken in head. If someone want to reintroduce it, hard work coming...)
* removed getitemsbybiblioitem (used only by MARC=OFF scripts, that is removed as well)
2007-03-29 13:30:31 +00:00
tipaul
56c4a32119 adding default value new feature into cataloguing. The system (definition) part has already been added by toins 2007-03-29 09:42:13 +00:00
btoumi
00290cf19d modify advanced search query structure :
use 'or' instead of 'and' (you  have  no result if you use  'and')
2007-03-29 09:28:07 +00:00
hdl
6ddde71599 Deleting ignore_errors(1) pour MARC::Charset 2007-03-29 08:45:19 +00:00
hdl
1ab5cdfd44 removing $dbh as a parameter in AuthoritiesMarc functions
And reporting all differences into the scripts taht relies on those functions.
2007-03-28 10:39:16 +00:00
kados
24a895bdc4 Fix for bug 1308: sort by order is lost when browsing results on more than one page 2007-03-18 03:50:15 +00:00
kados
56244e6efd Using my precrash CVS copy I did the following:
cvs -z3 -d:ext:kados@cvs.savannah.nongnu.org:/sources/koha co -P koha
find koha.precrash -type d -name "CVS" -exec rm -v {} \;
cp -r koha.precrash/* koha/
cd koha/
cvs commit

This should in theory put us right back where we were before the crash
2007-03-16 01:25:08 +00:00
kados
d126742c41 finish fixing spelling error on department 2007-03-10 06:28:06 +00:00
kados
ca908b5541 adding back get_date_format_string_for_DHTMLcalendar 2007-03-10 00:28:11 +00:00
kados
f6c92d3f01 fixing typo in Date.pm and minor English in menus.inc 2007-03-09 23:36:24 +00:00
kados
0d7b552dec move Accounts2.pm to Accounts.pm 2007-03-09 23:30:17 +00:00
kados
b6610f9f14 meging with dev_week, fixing spacing 2007-03-09 22:15:55 +00:00
tipaul
f8e9fb6445 rel_3_0 moved to HEAD (introducing new files) 2007-03-09 15:34:17 +00:00
tipaul
70501283b3 rel_3_0 moved to HEAD 2007-03-09 14:41:32 +00:00
tipaul
2ffd5b7228 rel_3_0 moved to HEAD 2007-03-09 14:28:54 +00:00
bob_lyon
0e6d8b1d1a Adding in missing subroutine bookseller 2006-12-13 20:02:34 +00:00
tgarip1957
41e4a9c4ad Savannah seems out of sync. reloading.Mainly code cleaning and removing of Date::Manip 2006-11-15 01:36:00 +00:00
tgarip1957
ab45e7aaab Bug fixing and complete removal of Date::Manip 2006-11-06 21:01:43 +00:00
tgarip1957
0d080fd644 All necessary date functions for koha using the fast DateTime module 2006-11-06 20:25:43 +00:00
tgarip1957
c5627d23ec A new Date.pm to use for all date calculations. Mysql date calculations removed from Circ2.pm, all modules free of DateManip, a new get_today function to call in allscripts, and some bug cleaning in authorities.pm 2006-10-20 01:20:56 +00:00
tgarip1957
c99a7e4028 code changed to show facets labels in different languages. Lacks the tools to create and fill the table yet 2006-10-02 19:15:20 +00:00
tgarip1957
df5492f167 Field weighting applied to ranked searches. A new facets table in mysql db 2006-10-01 21:48:54 +00:00
kados
7068b5f316 for some reason this didn't get updated properly, but was committed to
HEAD instead of dev_week.
2006-09-29 16:14:25 +00:00
tgarip1957
9b266b13ee Finalizing main components. All koha modules are now working with the new XML API 2006-09-27 19:53:52 +00:00
kados
f72c2df31e Committing some improvements to Amazon.pm
Updating AuthoritiesMarc to use new API in Biblio

Improvements to Auth, Output and Search

Adding Record.pm for record management
2006-09-24 20:00:51 +00:00
tgarip1957
9be398961d Some bug fixing, new acquisitions handling 2006-09-20 21:48:44 +00:00
tgarip1957
57d5b19dca Fixes bug with MARChtml2xml in Biblio.pm
synching with dev_week
2006-09-11 17:09:59 +00:00
tgarip1957
7e52a5665c Clean up before final commits 2006-09-06 16:21:03 +00:00
tgarip1957
0b5c3f94e7 New XML API
Event & Net::Z3950 dependency removed
HTML::Template::Pro dependency added
2006-09-01 22:16:00 +00:00
tgarip1957
aa52969153 New XML handling of data 2006-09-01 22:05:51 +00:00
tgarip1957
99d79a6f7f No more MARC Records - everything is MARC XML
we read - write only XML
2006-09-01 15:33:46 +00:00
tgarip1957
0451359813 New set of routines for HEAD.
Uses a complete new ZEBRA Indexing.
ZEBRA is now XML and comprises of a KOHA meta record. Explanatory notes will be on koha-devel
Fixes UTF8 problems
Fixes bug with authorities
SQL database major changes.
Separate biblioograaphic and holdings records. Biblioitems table depreceated
etc. etc.
Wait for explanatory document on koha-devel
2006-08-25 21:07:08 +00:00
toins
b364247586 Add a forgetted function : getbibliofromitemnumber 2006-08-21 09:51:15 +00:00
toins
2a1972fda0 fix POD error... 2006-08-11 16:05:55 +00:00
toins
2ca5f288f4 re-input an old function. 2006-08-11 16:04:07 +00:00
tipaul
a60ebe1c31 reintroducing letters management dropped by toins synch 2006-08-11 14:35:10 +00:00
tipaul
967ec60b62 the new "includes" features, for personalized templates. Look at koha-devel, i'll write a mail here (& something on the wiki) 2006-08-11 10:03:13 +00:00
toins
b9db60d518 this module is unused now. 2006-08-10 13:01:07 +00:00
toins
6abda1a918 add a filter on text file. 2006-08-10 12:54:45 +00:00
toins
e8d1968ff9 sync with dev_week. 2006-08-10 12:49:37 +00:00
toins
32e0d66afa sync with dev_week. 2006-08-10 12:41:04 +00:00
kados
b9acea8d45 rolling back previous merge, will do manually 2006-08-02 16:40:23 +00:00
toins
192b76cc8a New Function : ModOrderBiblioNumber. 2006-08-01 08:47:49 +00:00
toins
4fd001ceef * Function GetBasketContent renamed to GetOrders.
* Function GetOrder renamed to GetOrderNumber.
* Function GetSingleOrder renamed to GetOrder.
* GetAllOrders has been merged with GetPendingOrders.
2006-08-01 08:26:53 +00:00
toins
50c4d5c7d5 New function "GetBookFundsId" : this function get the list of bookfund id into an array. 2006-07-31 15:58:26 +00:00
toins
2bfa4df482 Code cleaned. 2006-07-31 14:38:14 +00:00
toins
d8513105aa 3 New functions : NewBookFund, DelBookFund & SearchBookFund. 2006-07-31 14:36:40 +00:00
toins
8a5c2d3b36 Deleted a duplicated function. 2006-07-27 13:48:02 +00:00
toins
3fafdf7492 1 Sub renamed. 2006-07-27 13:46:30 +00:00
toins
a4c279ac4e Acquisition module has been cut into 3 files :
*Bookseller.pm* : contains all functions dealing with bookseller.

*Bookfund.pm* : contains all functions dealing with bookfund, currency & budget.

*Acquisition.pm* contains all functions dealing with orders, basket & parcels.
2006-07-27 13:39:00 +00:00
toins
c136f56045 subs renamed according to coding guidelines. 2006-07-21 13:57:02 +00:00
toins
1c68ea8229 new function & subs renamed. 2006-07-21 10:15:57 +00:00
toins
3c6410111b subs renamed according to coding guidelines. 2006-07-21 10:10:29 +00:00
bob_lyon
b098fd0e19 Adding in POD info about the new subroutines added yesterday - these new subroutines are
for the new corporate serials system, a variant of the current serials system
2006-07-21 01:48:41 +00:00
bob_lyon
499f04f18e Merging in katipo changes for serials - added in some new subroutines and resurrected some old ones but tried to make only minor changes to existing subroutines 2006-07-20 03:26:35 +00:00
btoumi
7c2b207dd7 code cleaning : delete call to old function 2006-07-18 12:13:07 +00:00
sushi
3aad010385 adding aqorders.ordernumber to histsearch(), so so user can click url to ordernuber record via .tmpl. 2006-07-12 14:30:07 +00:00
sushi
b9b3ee16e1 removed hardcoded 'next budget date' from neworder(), now rolls over to 01-07 next year.
i think a future improvement will be to look up the next budget record's end-date for that bookfundi, rather than just assuming its '01-07'.
2006-07-12 14:26:13 +00:00
btoumi
e22340d1b7 bug fix:
add call to biblio.pm
2006-07-12 14:07:03 +00:00
sushi
567c744d07 fixup of bookfundbreakdown(), totals now add up correctly. 2006-07-12 13:52:28 +00:00
btoumi
d81cd891ce bug fixing:
Biblio.pm: add in export line  getbibliofromitemnumber function
fines2.pl:call to biblio.pm for use of getbibliofromitemnumber function
2006-07-12 13:43:42 +00:00
toins
722bd487f3 Code cleaning :
Sub renamed & POD added.
2006-07-12 10:49:39 +00:00
rangi
ead92228f0 Fixing bad sql 2006-07-12 09:15:26 +00:00
toins
ca1dea1cc5 Code cleaning :
POD rewrited
2006-07-12 08:15:46 +00:00
toins
c7edb82220 2 functions added : GetBorrowersFromSurname & GetBranchCodeFromBorrowers 2006-07-12 07:49:06 +00:00
toins
e94f7f5efd Code cleaning :
Sub renamed.
2006-07-12 07:45:39 +00:00
sushi
a4c086ac41 typo 2006-07-10 23:36:02 +00:00
sushi
e5ed501014 removing warns, and defining draw_boundaries() sub. 2006-07-10 23:33:45 +00:00
sushi
975551479a Newly created Labels.pm module for spine-label and barcode printing. I have pulled out a bunch of subs and put them in here. 2006-07-10 23:30:17 +00:00
toins
9050f18107 this file has been replaced by C4/Serials.pm 2006-07-07 08:46:38 +00:00
toins
18d2cd0990 this file replace C4/Bull.pm 2006-07-07 08:45:47 +00:00
toins
6954866492 Code cleaning :
Pod added or rewrited, Sub renamed...
2006-07-07 08:44:57 +00:00
toins
ebfcdb97b5 Sub renamed according to the coding guidelines 2006-07-07 08:02:46 +00:00
toins
e9795d3913 Head & rel_2_2 merged 2006-07-04 14:57:26 +00:00
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