Henri-Damien LAURENT [Thu, 28 Jan 2010 08:22:42 +0000 (09:22 +0100)]
Revert "MT2232 : members/notices.pl and members/messaging.pl are doing the same thing"
This reverts commit
653de3c295b5b21ddfe11f0597b4ba7092f1effc.
Should remove members/notices.pl instead
Henri-Damien LAURENT [Wed, 27 Jan 2010 21:19:44 +0000 (22:19 +0100)]
(followup MT2690) search on first letter
followup commit
5a669826fa8e6cfbf2c53aa40271e0a2f8465a6c
letters were not introduced in first page
Henri-Damien LAURENT [Wed, 27 Jan 2010 21:15:17 +0000 (22:15 +0100)]
Reverting staff-global.css
changes introduced in label are used in only one page
namely members-home.pl
and break many
Henri-Damien LAURENT [Wed, 27 Jan 2010 21:02:19 +0000 (22:02 +0100)]
[followup MT2343] fixing aqplan.tmpl
Rebase introduced duplication of headers
Henri-Damien LAURENT [Wed, 27 Jan 2010 17:58:03 +0000 (18:58 +0100)]
Fixing updatedatabase
Some lines were not correct (subscription updates)
The two latest version lines were incorrect
Paul Poulain [Fri, 22 Jan 2010 16:02:17 +0000 (17:02 +0100)]
(MT 2671): Serial management in koha_add_biblio
serial management in koha_add_biblio is only relying on presence of
$biblio->{seriestitle} It is not correct, $biblio->{serial} definition
should prevail over this test
Henri-Damien LAURENT [Tue, 26 Jan 2010 12:39:21 +0000 (13:39 +0100)]
monthly_circulation_statistics.pl :Hard Coded date inside
Fixing that point
Henri-Damien LAURENT [Wed, 27 Jan 2010 08:52:49 +0000 (09:52 +0100)]
MT2268 Printing html notices on pdf printers
This adds a shell script which is able to turn html files
into pdf and print them on a printer
It takes a directory where pdf files is laid, a css filename,
a host for printer and a Printername
printoverdues : generates PDF files from html files in directorys and prints them
usage :
printoverdues.sh directory [css [printer_host [printername]]]
- directory directory to use to apply html2pdf transform
- css css file to apply to html
- printer_host Network Name or IP of the printer (port possibly included)
- printer_name printername
Note that css printerhost and printername are optional parameters
Note that this script uses xhtml2pdf command
xhtml2pdf command comes with pisa (a python library)
To install you need setuptools library for python
then type easy_install pisa
Paul Poulain [Tue, 12 Jan 2010 22:47:04 +0000 (23:47 +0100)]
bulkmarcimport : removing warnings
Paul Poulain [Tue, 12 Jan 2010 22:45:44 +0000 (23:45 +0100)]
BuildSummary AuthoritiesMarc Enhancement
Change in BuildSummary for UNIMARC
Henri-Damien LAURENT [Tue, 19 Jan 2010 11:26:24 +0000 (12:26 +0100)]
MT2637, Follow-up : Adds a test to check for missing sysprefs in the database
Adds a non-test mode (--showsql option) that displays the missing sysprefs as sql inserts.
Some sysprefs were missed from the syspref file due to extra spaces in the insert : fixed.
The test now checks if there are at least as many sysprefs in the database as in the syspref file (instead of checking for the exact number)
Nahuel ANGELINETTI [Fri, 15 Jan 2010 16:20:58 +0000 (17:20 +0100)]
(MT2690) fix search by letter
This patch fix searching by name that "begins" by one letter, using now the quicksearch arg.
And improve a bit the template, now it won't list all the alphabet...
Nahuel ANGELINETTI [Fri, 15 Jan 2010 16:01:21 +0000 (17:01 +0100)]
Fix ordering in member search
This fix the default ordering when the librarian browser by "last name". It must be ordered by "family name".
Henri-Damien LAURENT [Fri, 15 Jan 2010 15:27:31 +0000 (16:27 +0100)]
Bug Fixing Search By initials incorrect
Adding a research scope : field_start_with
Using this kind of research if searching by initial
Nahuel ANGELINETTI [Fri, 15 Jan 2010 11:40:48 +0000 (12:40 +0100)]
(MT823) add the possibility to have enrolment end date
this patch add the possibility to have an end date of enrolment, instead of a period. Like for a user category, all this category can have the same expiry date.
The librarian can configure one of both, but not both.
Matthias Meusburger [Tue, 26 Jan 2010 13:52:36 +0000 (14:52 +0100)]
MT2116 : Addons to the CSV Export
Add encoding selection
Add authorised values handling
Jean-André Santoni [Wed, 20 Jan 2010 13:16:38 +0000 (14:16 +0100)]
[MT2049] Stocknumber value builder
Matthias Meusburger [Fri, 15 Jan 2010 16:42:43 +0000 (17:42 +0100)]
MT2116: Addons to the CSV export
Add user-defined headers
Add CSV, field and subfield separator selection
Matthias Meusburger [Fri, 15 Jan 2010 16:42:43 +0000 (17:42 +0100)]
MT2116: Addons to the CSV export
Add user-defined headers
Add CSV, field and subfield separator selection
Henri-Damien LAURENT [Thu, 14 Jan 2010 17:51:28 +0000 (18:51 +0100)]
SQLHelper : InsertInTable enhancement
InsertInTable can now add values to table where primaryKey requires
user input such as branches table
Jean-André Santoni [Fri, 8 Jan 2010 10:56:46 +0000 (11:56 +0100)]
[MT2390] Added tablesorter on staged files
Jean-André Santoni [Fri, 8 Jan 2010 10:41:21 +0000 (11:41 +0100)]
[MT2390] Fixed addorderiso2709 breadcrumb
Booksellername was not showing.
Jean-André Santoni [Fri, 8 Jan 2010 10:29:21 +0000 (11:29 +0100)]
[MT2370] Basket header workflow improvement
The "Data Recorded" page was useless, I removed it.
Jean-André Santoni [Fri, 8 Jan 2010 09:54:37 +0000 (10:54 +0100)]
[MT2370] Fixed basketheader breadcrumb
There was to link to get back to the supplier.
Jean-André Santoni [Fri, 8 Jan 2010 09:49:52 +0000 (10:49 +0100)]
[MT2370] Basket header display improvement
The name is mandatory, it is now displayed in red.
Jean-André Santoni [Tue, 5 Jan 2010 08:18:45 +0000 (09:18 +0100)]
[MT2593] Fixed budget amount computation in acqui-home
Henri-Damien LAURENT [Mon, 4 Jan 2010 16:30:34 +0000 (17:30 +0100)]
followup (bug #4020) XSLT unimarc display
C4::Search removing unconditionnal warning
Jean-André Santoni [Mon, 4 Jan 2010 16:06:17 +0000 (17:06 +0100)]
Fixed a major bug in ModReceiveOrder
Orders were not splited correctly.
Jean-André Santoni [Mon, 4 Jan 2010 14:35:43 +0000 (15:35 +0100)]
[MT2593] Added "ordered" column in acqui-home budget display
Jean-André Santoni [Mon, 4 Jan 2010 09:38:08 +0000 (10:38 +0100)]
[MT2590] Removed root budget duplicate checkings
Nahuel ANGELINETTI [Thu, 24 Dec 2009 14:20:47 +0000 (15:20 +0100)]
(bug #4004) disallow access for non-logged in users in opac
This doesn't define borrowernumber = 0 if a borrower is NOT logged.
We know borrowernumber 0 is mysqluser... So in virtualshelves, a non logged user have all permissions.
Nahuel ANGELINETTI [Wed, 30 Dec 2009 15:50:46 +0000 (16:50 +0100)]
[followup](bug #3667) don't delete if member is guarantor
this fix cleanborrowers to don't delete guanrantors.
Nahuel ANGELINETTI [Wed, 30 Dec 2009 10:40:52 +0000 (11:40 +0100)]
[followup](bug #3667) fix dateexpiry filtering
this fix the dateexpiry used to filter users, now we use date specified.
Nahuel ANGELINETTI [Tue, 29 Dec 2009 15:06:35 +0000 (16:06 +0100)]
[followup](bug #3667) cleaning borrowers fix
This fix GetBorrowersWhoHaveNotBorrowedSince to select only borrowers that have no issues and have no old_issues more recent than a specified date.
Paul Poulain [Thu, 31 Dec 2009 08:07:54 +0000 (09:07 +0100)]
(bug #4020) XSLT unimarc display
When using XSLT Display, and UNIMARC,
since marcFlavour is not used in encoding data, when data is true utf8, as_xml
fails on some subfields.
Moreover, because transformMARCXMLForXSLT edits some values in the marc record
and the PERL UTF8 is not handled by MARC::File::USMARC, it endsup in double
encoding the data.
Sending a patch to fix both issues.
This patch adds
- two functions in C4/Charset.pm
NormalizeString (uses Unicode::Normalize)
SetUTF8Flag (This function in my opinion belongs to MARC::Record, or at least MARC::File::USMARC)
- edits C4::XSLT in order to cope with the correct marcflavour
- edits C4::Search searchResults to use setUTF8Flag
Henri-Damien LAURENT [Thu, 24 Dec 2009 08:25:17 +0000 (09:25 +0100)]
C4::SQLHelper Changing $$ notation to $ ->
Henri-Damien LAURENT [Wed, 23 Dec 2009 21:55:11 +0000 (22:55 +0100)]
Suggestions.pm :Changing $$ notation to $ ->
Henri-Damien LAURENT [Mon, 16 Nov 2009 21:10:03 +0000 (22:10 +0100)]
MT 2285 : enhancement for patronSearch
Matthias Meusburger [Mon, 28 Dec 2009 10:21:49 +0000 (11:21 +0100)]
MT2345 : Changes on contracts
Paul Poulain [Thu, 24 Dec 2009 16:06:33 +0000 (17:06 +0100)]
aqbudget display, minor changes
- removed 2 total that means nothing (and were troubling users)
- reindented a little (removed tab)
Paul Poulain [Thu, 24 Dec 2009 13:43:13 +0000 (14:43 +0100)]
#4003 default value in PrepareItemrecordDisplay
The default value you can define in cataloguing framework was not used for item created from acq or serial recieve
Henri-Damien LAURENT [Wed, 23 Dec 2009 14:25:08 +0000 (15:25 +0100)]
Bug :authid empty in Authorities Default summary
Nahuel ANGELINETTI [Mon, 2 Nov 2009 15:42:01 +0000 (16:42 +0100)]
(bug #3745) fix deletion of borrowers rights detection
This patch fix the rights checking for borrower deletion.
Nahuel ANGELINETTI [Wed, 4 Nov 2009 15:01:43 +0000 (16:01 +0100)]
(bug #3760) fix and improve some reports
This patch fix some problems with dates, and itemtypes level.
And it improve some sql queries.
Henri-Damien LAURENT [Wed, 23 Dec 2009 12:12:42 +0000 (13:12 +0100)]
Test Improvements : Adding Reserves.t
Nahuel ANGELINETTI [Fri, 25 Sep 2009 14:32:41 +0000 (16:32 +0200)]
(bug #3667) fix borrowers cleanup
This add a check of borrower expiry date, and don't delete the borrower if he's still active.
Henri-Damien LAURENT [Thu, 10 Dec 2009 10:02:55 +0000 (11:02 +0100)]
bug Fixing: updatedatabase
Here comes a patch for update database.
Can you please test and tell me if it works ?
Thanks a lot
Nicolas Morin [Tue, 22 Dec 2009 15:09:21 +0000 (16:09 +0100)]
correcting spelling mistake: firstname is surname
Matthias Meusburger [Tue, 22 Dec 2009 13:06:56 +0000 (14:06 +0100)]
MT2408 : UI Changes / CSV Export
Henri-Damien LAURENT [Fri, 30 Jan 2009 14:10:54 +0000 (15:10 +0100)]
Bug 3983 : Needed authorised values list for french frameworks.
Jean-André Santoni [Mon, 21 Dec 2009 08:34:52 +0000 (09:34 +0100)]
[MT2346] Hide basket actions if no basket
Henri-Damien LAURENT [Fri, 4 Dec 2009 14:20:51 +0000 (15:20 +0100)]
Dates : improvements string recognition
Dates can now have one digit for month and day
Jean-André Santoni [Fri, 18 Dec 2009 15:28:47 +0000 (16:28 +0100)]
[MT2346] Supplier display improvements
Used Koha generalized way to display lists of informations.
Matthias Meusburger [Fri, 4 Dec 2009 10:09:13 +0000 (11:09 +0100)]
MT 2426 : Default currency is chosen for price calculation when bookseller's listprice is NULL
Matthias Meusburger [Thu, 3 Dec 2009 10:58:44 +0000 (11:58 +0100)]
MT 1801 : Opac shelves and basket are displayed the same way
This patch also fixes broken location display in both shelves and basket.
Henri-Damien LAURENT [Fri, 18 Dec 2009 11:24:00 +0000 (12:24 +0100)]
followup : auto_truncation
3287252c0
truncated words bore a double * which would create an error
Conflicts solved :
C4/Search.pm
Henri-Damien LAURENT [Wed, 7 Oct 2009 13:49:02 +0000 (15:49 +0200)]
Bug Fix : 3689
Disabling Query_AutoTruncate for NoZebra searches
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Henri-Damien LAURENT [Fri, 18 Dec 2009 11:16:46 +0000 (12:16 +0100)]
(bug #3584) detect ccl queries
This patch C4::Search::buildQuery to detect ccl queries, and let zebra to parse them.
And set a default index "kw" if not specified.
This improve the detection of ccl queries, and do not duplicate the "ccl=" value.
Adding = as an index sign
Followup to
3037ff9e81149615f94d3c4ff0e5b4c5240f3ce9
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Henri-Damien LAURENT [Thu, 17 Dec 2009 14:38:17 +0000 (15:38 +0100)]
Translation scripts : Removing trailing / in scripts
Henri-Damien LAURENT [Wed, 16 Dec 2009 16:01:00 +0000 (17:01 +0100)]
Revert "C4/Search.pm followup auto_truncation 3.0.x cherry-pick"
This reverts commit
58406a5e4bb50e18c9620e91b90295d8219842b8.
Conflicts:
C4/Search.pm
Paul Poulain [Tue, 15 Dec 2009 18:55:58 +0000 (19:55 +0100)]
Improved guided reports (#3929)
added runtime parameters for guided reports. Online help:
Can I have run-time defined parameters?
Yes, you can: there is a specific syntax that Koha will understand as 'ask for values when running the report'. The syntax is <<Question to ask|authorised_value>>.
The << and >> are just delimiters. You must put << at the beginning and >> at the end of your parameter
The Question to ask will be displayed on the left of the string to enter.
The authorised_value can be omitted if not applicable. If it contains an authorised value category, or <strong>branches</strong> or <strong>itemtype</strong> or <strong>categorycode</strong>, a list with the Koha authorised values will be displayed instead of a free field
Note that you can have more than one parameter in a given SQL
Note that entering nothing at run time won't probably work as you expect. It will be considered as "value empty" not as "ignore this parameter". For example entering nothing for : "title=<<Enter title>>" will display results with title='' (no title). If you want to have to have something not mandatory, use "title like <<Enter title>>" and enter a % at run time instead of nothing
Sample :
SELECT surname,firstname FROM borrowers WHERE branchcode=<<Enter patrons library|branches>> AND surname like <<Enter filter for patron surname (% if none)>>
Matthias Meusburger [Fri, 11 Dec 2009 10:12:23 +0000 (11:12 +0100)]
MT 2495 : Fix multiple occurences of itemtype in guided reports criteria
Signed-off-by: Henri-Damien LAURENT <henridamien.laurent@biblibre.com>
Henri-Damien LAURENT [Sun, 13 Dec 2009 18:20:39 +0000 (19:20 +0100)]
Adding optgroup labels to translations
Henri-Damien LAURENT [Thu, 10 Dec 2009 16:34:26 +0000 (17:34 +0100)]
SearchInTable : problem with primary key searches
SearchInTable was filtering primary Key thus returning the whole table when asked a search on a primary key
Matthias Meusburger [Thu, 10 Dec 2009 16:35:18 +0000 (17:35 +0100)]
MT2232 : members/notices.pl and members/messaging.pl are doing the same thing
Jean-André Santoni [Thu, 10 Dec 2009 16:17:11 +0000 (17:17 +0100)]
[MT1234] Huge rewritte to use the API instead of hardcoded SQL in the script
Also fixes a bug in the template.
Jean-André Santoni [Thu, 10 Dec 2009 11:00:46 +0000 (12:00 +0100)]
[MT1234] Code cleaning
Jean-André Santoni [Thu, 10 Dec 2009 10:37:49 +0000 (11:37 +0100)]
[MT1234] Fixed aqcontract breadcrumb
Jean-André Santoni [Thu, 10 Dec 2009 10:20:03 +0000 (11:20 +0100)]
[MT1234] Replaced useless selectbox in the title of contact form
Jean-André Santoni [Thu, 10 Dec 2009 09:18:12 +0000 (10:18 +0100)]
[MT2345] New contract button
Jean-André Santoni [Thu, 3 Dec 2009 16:09:23 +0000 (17:09 +0100)]
[MT2343] Removed HTML heresy from aqplan template
Jean-André Santoni [Thu, 3 Dec 2009 14:57:34 +0000 (15:57 +0100)]
[MT2343] Moved currency up the table
Jean-André Santoni [Wed, 2 Dec 2009 15:59:08 +0000 (16:59 +0100)]
[MT2343] Changed the red X for a green V in the root budget table
Jean-André Santoni [Wed, 2 Dec 2009 15:01:47 +0000 (16:01 +0100)]
[MT2343] Changed the name of the Filter button, and lowered it
Jean-André Santoni [Wed, 2 Dec 2009 14:31:15 +0000 (15:31 +0100)]
[2343] Fix currency not showing in aqbudgets
Henri-Damien LAURENT [Tue, 13 Oct 2009 14:22:24 +0000 (16:22 +0200)]
followup : auto_truncation
3287252c0
truncated words bore a double * which would create an error
Henri-Damien LAURENT [Mon, 30 Nov 2009 05:54:47 +0000 (06:54 +0100)]
C4/Search.pm followup auto_truncation 3.0.x cherry-pick
Auto_truncation is used even though exact search selected.
This patch removes this side effect
Conflicts solved:
C4/Search.pm
Cherry-picked from 3.0.x :
3287252c0
Galen Charlton [Wed, 27 Jan 2010 14:33:14 +0000 (09:33 -0500)]
final fix for sysprefs merge, hopefully
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Wed, 27 Jan 2010 14:30:22 +0000 (09:30 -0500)]
handle error if no active currency is defined
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Wed, 27 Jan 2010 14:19:13 +0000 (09:19 -0500)]
fix silly typo
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Wed, 27 Jan 2010 13:58:26 +0000 (08:58 -0500)]
bugfix - fix compilation error
Reflect change of GetLocalCurrency to GetCurrency
in new_acq
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Wed, 27 Jan 2010 01:26:01 +0000 (20:26 -0500)]
Merge commit 'pianohacker-koha/prefs-submit' into master
Merge in Jesse Weaver's system preference editor changes.
Conflicts:
C4/Bookfund.pm
koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css
koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc
koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tmpl
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Wed, 27 Jan 2010 01:16:19 +0000 (20:16 -0500)]
Merge commit 'colin_campbell/dbupgrade3.2' into master
Fix various issues with database updating.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Owen Leonard [Tue, 26 Jan 2010 21:01:52 +0000 (16:01 -0500)]
Fix for Bug 4065, patron extended attributes error
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Owen Leonard [Tue, 26 Jan 2010 17:46:56 +0000 (12:46 -0500)]
Fixes for Bug 3943, Show add to cart link when lists off in the OPAC
- Also adds some missing conditionals for including javascript
- Also Removes an instance of TMPL_IF EXPR
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Owen Leonard [Tue, 26 Jan 2010 19:17:25 +0000 (14:17 -0500)]
Fix for Bug 4061, Improve OPAC maintenance screen
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Frédéric Demians [Mon, 26 Oct 2009 17:31:37 +0000 (18:31 +0100)]
Extend Koha OAI Server to support other metadata formats
Currently Koha OAI server returns records in two formats: marcxml and
oai_dc (Dublin Core). This patch adds a new mode of operation where as
many as necessary metadata formats can be added via XSLT.
Documentation: See the end of oai.pl file to have an explanation of
how it works.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Frédéric Demians [Mon, 14 Dec 2009 21:21:12 +0000 (22:21 +0100)]
Bug 3921 - Add Intranet MARC21 XSL file based on OPAC one
Tweak also intranet CSS file in order to have the same layout than on
OPAC.
For the futur: it would be required to group all XSL in one location.
For now if someone improve OPAC XSL, he/she will have not to forget to
take its modifications back to the intranet XSL.
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Galen Charlton [Tue, 26 Jan 2010 19:46:05 +0000 (14:46 -0500)]
Merge commit 'biblibre/3.2_community' into to-push
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Owen Leonard [Mon, 25 Jan 2010 16:34:08 +0000 (11:34 -0500)]
Fix for Bug 4058, opac-auth.tmpl body id causes layout problems
Owen Leonard [Mon, 25 Jan 2010 16:03:46 +0000 (11:03 -0500)]
Removing obsolete help files (Bug 4059)
Owen Leonard [Mon, 25 Jan 2010 15:54:17 +0000 (10:54 -0500)]
Fixes for Bug 3958, Standardize vendor/supplier/bookseller terminology
Changing instances of "supplier" or "bookseller" to "vendor."
Owen Leonard [Mon, 25 Jan 2010 15:07:01 +0000 (10:07 -0500)]
Fix for Bug 3984, Confusing note on transfers to receive
- Changing 'check this transfer' message to more informative
'Transfer is XX days late'
- Adding note in the case of late transfers: 'Transfers are
considered late after XX [TransfersMaxDaysWarning] days.'
Colin Campbell [Mon, 25 Jan 2010 14:20:09 +0000 (14:20 +0000)]
delay dropping of aqbookfund
aqbookfund cannot be dropped before aqorderbreakdown
due to fk cobstraints
remove drop of column bookfundid from aqbudget
column no longer exists at this point
Colin Campbell [Mon, 25 Jan 2010 09:26:07 +0000 (09:26 +0000)]
Can only add column reservesallowed to issuingrules once
Colin Campbell [Fri, 22 Jan 2010 16:04:47 +0000 (16:04 +0000)]
Remove an invalid db update
Update tries to drop two fk constraints which
don't appear to exist
Colin Campbell [Fri, 22 Jan 2010 15:33:13 +0000 (15:33 +0000)]
column was added in two separate updates
3.01.00.068 duplicates the operations of 3.01.00.065
Because one column has already been created, populated and dropped
the rest of the update fails
Colin Campbell [Fri, 22 Jan 2010 13:40:09 +0000 (13:40 +0000)]
remove duplicate column add
Change 3.01.00.089 duplicated 3.01.00.070
Colin Campbell [Fri, 22 Jan 2010 13:35:40 +0000 (13:35 +0000)]
102 needs to be an update not an insert
Colin Campbell [Fri, 22 Jan 2010 13:18:14 +0000 (13:18 +0000)]
remove duplicate addition of casAutherntication preference