]> git.koha-community.org Git - koha.git/log
koha.git
14 years agoEnhancement: This patch adds a 'cardnumber' parameter and checks
Chris Nighswonger [Wed, 27 Jan 2010 02:32:05 +0000 (21:32 -0500)]
Enhancement: This patch adds a 'cardnumber' parameter and checks

to see if it is present when the script is called. If it is, the patron
information is retrieved and borrowernumber set from that. Otherwise,
the patron information is retrieved by borrowernumber.

The changes in this patch do not require porting to any other Koha code.

Sponsored by www.digital-loom.com

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 4083 subroutine HasItems needs to be exported
Colin Campbell [Mon, 1 Feb 2010 11:27:44 +0000 (11:27 +0000)]
Bug 4083 subroutine HasItems needs to be exported

Calls to the unexported subroutine result in system error

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix some code issues in serials scripts
Colin Campbell [Mon, 1 Feb 2010 19:48:29 +0000 (19:48 +0000)]
Fix some code issues in serials scripts

Add use warnings where not present
Remove unused variables
Avoid redeclarations of variables
trailing spaces trimmed

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 4088 Due Date Not formated in checkout response
Colin Campbell [Tue, 2 Feb 2010 12:51:02 +0000 (12:51 +0000)]
Bug 4088 Due Date Not formated in checkout response

due date was not being formatted as a timestamp
but being passed as epoch seconds

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 4095 Remove incorrect help text
Colin Campbell [Tue, 2 Feb 2010 18:24:47 +0000 (18:24 +0000)]
Bug 4095 Remove incorrect help text

Subscription end date is required before receiving against
the subscription. If not set the subscription needs
renewal before use.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoChange style of return errors to be more noticable.
Michael Hafen [Tue, 2 Feb 2010 18:48:53 +0000 (11:48 -0700)]
Change style of return errors to be more noticable.

Changed the class of the div from message to error.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 3970, Warn user when there is no active currency
Owen Leonard [Fri, 29 Jan 2010 15:52:05 +0000 (10:52 -0500)]
Fix for Bug 3970, Warn user when there is no active currency

- Adds warning to budget admin pages
- Adds warning to currency admin page

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoMarkup and formatting corrections.
Owen Leonard [Fri, 29 Jan 2010 16:02:22 +0000 (11:02 -0500)]
Markup and formatting corrections.

- XHTML validity
- Can't nest TMPL_IF inside <input>--breaks translator

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 4080, OPAC hold screen doesn't obey OPACDisplayRequestPriority pref
Owen Leonard [Fri, 29 Jan 2010 20:06:53 +0000 (15:06 -0500)]
Fix for Bug 4080, OPAC hold screen doesn't obey OPACDisplayRequestPriority pref

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoAdding missing images for collapsible syspref sections
Owen Leonard [Fri, 29 Jan 2010 20:47:06 +0000 (15:47 -0500)]
Adding missing images for collapsible syspref sections

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoUpdating history docs
Chris Cormack [Sat, 30 Jan 2010 22:37:22 +0000 (11:37 +1300)]
Updating history docs

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBugfix: Adding Creators system preferences to new system preferences editor
Chris Nighswonger [Sat, 30 Jan 2010 15:49:18 +0000 (10:49 -0500)]
Bugfix: Adding Creators system preferences to new system preferences editor

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 4089, tools menu floating to bottom of CSV Profiles, and others
Owen Leonard [Tue, 2 Feb 2010 15:26:01 +0000 (10:26 -0500)]
Fix for Bug 4089, tools menu floating to bottom of CSV Profiles, and others

- Moving nested TMPL_IFs out of <option> tags (breaks translator)
- Fixing markup to match conventions for form structure
- Removing duplicate form fields (bad merge?)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 4097, Problems with print stylesheet and add item screen
Owen Leonard [Tue, 2 Feb 2010 20:07:12 +0000 (15:07 -0500)]
Fix for Bug 4097, Problems with print stylesheet and add item screen

- consolidating some details in print.css
- moving overflow:scroll from additem.tmpl to staff-global.css
- overriding overflow:scroll in print.css

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 2505: Enables warnings in opac-readingrecord.pl
Garry Collum [Tue, 2 Feb 2010 20:31:49 +0000 (15:31 -0500)]
Bug 2505: Enables warnings in opac-readingrecord.pl

Enables warnings and fixes the resulting warnings in opac-readingrecord.pl.  The "description" variable in opac-readingrecord.tmpl was pulling a value from another source, probably an included template.  Change the name to 'itypedescription' to resolve the conflict.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 4092, suggestion date missing from manage suggestions
Owen Leonard [Tue, 2 Feb 2010 21:00:54 +0000 (16:00 -0500)]
Fix for Bug 4092, suggestion date missing from manage suggestions

Date was missing because of incorrect variable name in opac-suggestions.pl
Thanks to HDL for the fix.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 2505: Enables warnings in the opac error pages.
Garry Collum [Tue, 2 Feb 2010 22:02:00 +0000 (17:02 -0500)]
Bug 2505: Enables warnings in the opac error pages.

No warnings were generated in the logs, except that the template for 402 does not exist.  I will follow this up with another patch.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 4098: Fixes missing error templates.
Garry Collum [Tue, 2 Feb 2010 22:21:38 +0000 (17:21 -0500)]
Bug 4098: Fixes missing error templates.

Adds the missing 402.tmpl.
Fixes the <h4> element in 400, 401, 403, and 500, all of which displayed 404.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoNew Itemtype images from Vokal. This should create directory sfdicons
brendan [Fri, 29 Jan 2010 05:53:53 +0000 (00:53 -0500)]
New Itemtype images from Vokal. This should create directory sfdicons

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoAdding Vokal itemtype images to the intranet.
brendan [Fri, 29 Jan 2010 05:53:54 +0000 (00:53 -0500)]
Adding Vokal itemtype images to the intranet.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoChange to correct layout problem when OpacNav is empty.
Owen Leonard [Wed, 27 Jan 2010 17:24:46 +0000 (12:24 -0500)]
Change to correct layout problem when OpacNav is empty.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoPopulated MARC 952$2 field for serials-edit.pl
David Birmingham [Wed, 27 Jan 2010 17:36:53 +0000 (12:36 -0500)]
Populated MARC 952$2 field for serials-edit.pl

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 3838, Download List Pop Up Needs Margins
Owen Leonard [Wed, 27 Jan 2010 19:52:48 +0000 (14:52 -0500)]
Fix for Bug 3838, Download List Pop Up Needs Margins

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agokohstructure.sql not wrking with mysql5.0
Henri-Damien LAURENT [Wed, 27 Jan 2010 20:31:41 +0000 (21:31 +0100)]
kohstructure.sql not wrking with mysql5.0

Removing USING BTREE

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 3856: Tools Menu in Alpha Order - resubmission.
Garry Collum [Thu, 28 Jan 2010 00:36:40 +0000 (19:36 -0500)]
Bug 3856: Tools Menu in Alpha Order - resubmission.

This patch gathers the links on the tools menu and places them in categories similar to the Administration menu - Patrons and circulation, Catalog, Additional Tools. It also adds these categories to the tools sidebar menu.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoFix for Bug 4073, Add globally template variable for dateformat setting
Owen Leonard [Thu, 28 Jan 2010 14:48:54 +0000 (09:48 -0500)]
Fix for Bug 4073, Add globally template variable for dateformat setting

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoAdding source files for Koha logo and OPAC button background. Bug 3680.
Owen Leonard [Wed, 27 Jan 2010 15:40:25 +0000 (10:40 -0500)]
Adding source files for Koha logo and OPAC button background. Bug 3680.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoMerge commit 'biblibre/3.2_biblibre' into to-push
Galen Charlton [Thu, 28 Jan 2010 20:46:28 +0000 (15:46 -0500)]
Merge commit 'biblibre/3.2_biblibre' into to-push

Final round of acquisitions and related fixes from
BibLibre prior to 3.2 alpha

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
14 years agoBug 3815: SIP2 Invalid Item Information Response 18
Frédéric Demians [Fri, 27 Nov 2009 21:50:16 +0000 (22:50 +0100)]
Bug 3815: SIP2 Invalid Item Information Response 18

With this patch Koha SIP2 server send back a valid Item Information
Response for issued items: ie with due date in the response.

14 years agoBug 3814: SIP2 Server logging doesn't work on OpenSolaris
Frédéric Demians [Fri, 27 Nov 2009 17:16:55 +0000 (18:16 +0100)]
Bug 3814: SIP2 Server logging doesn't work on OpenSolaris

This patch put in SIPconfig.xml SIP2 server logging parameters. This is
way it's possible to modify where SIP2 logs are sent. And fix
OpenSolaris bug.

WARNING: After an upgrade, installation using a custom SIP2 server
config file will need to copy default SIPconfig.xml added section:

<!--
  Set Net::Server::PreFork runtime parameters
  syslog_ident will identify SIP2 Koha server entries in syslog
  For OpenSolaris, add: syslog_logsock=stream
-->
  <server-params
    min_servers='1'
    min_spare_servers='0'
    log_file='Sys::Syslog'
    syslog_ident='koha_sip'
    syslog_facility='local6'
  />

14 years agoBug 3813: SIP2, Bad Patron Information Response to Message 64
Frédéric Demians [Fri, 27 Nov 2009 08:46:06 +0000 (09:46 +0100)]
Bug 3813: SIP2, Bad Patron Information Response to Message 64

This fix returns item's barcodes in AU fields

14 years agoRevert "MT2232 : members/notices.pl and members/messaging.pl are doing the same thing"
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

14 years ago(followup MT2690) search on first letter
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

14 years agoReverting staff-global.css
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

14 years ago[followup MT2343] fixing aqplan.tmpl
Henri-Damien LAURENT [Wed, 27 Jan 2010 21:02:19 +0000 (22:02 +0100)]
[followup MT2343] fixing aqplan.tmpl

Rebase introduced duplication of headers

14 years agoFixing updatedatabase
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

14 years ago(MT 2671): Serial management in koha_add_biblio
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

14 years agomonthly_circulation_statistics.pl :Hard Coded date inside
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

14 years agoMT2268 Printing html notices on pdf printers
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

14 years agobulkmarcimport : removing warnings
Paul Poulain [Tue, 12 Jan 2010 22:47:04 +0000 (23:47 +0100)]
bulkmarcimport : removing warnings

14 years agoBuildSummary AuthoritiesMarc Enhancement
Paul Poulain [Tue, 12 Jan 2010 22:45:44 +0000 (23:45 +0100)]
BuildSummary AuthoritiesMarc Enhancement

Change in BuildSummary for UNIMARC

14 years agoMT2637, Follow-up : Adds a test to check for missing sysprefs in the database
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)

14 years ago(MT2690) fix search by letter
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...

14 years agoFix ordering in member search
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".

14 years agoBug Fixing Search By initials incorrect
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

14 years ago(MT823) add the possibility to have enrolment end date
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.

14 years agoMT2116 : Addons to the CSV Export
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

14 years ago[MT2049] Stocknumber value builder
Jean-André Santoni [Wed, 20 Jan 2010 13:16:38 +0000 (14:16 +0100)]
[MT2049] Stocknumber value builder

14 years agoMT2116: Addons to the CSV export
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

14 years agoMT2116: Addons to the CSV export
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

14 years agoSQLHelper : InsertInTable enhancement
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

14 years ago[MT2390] Added tablesorter on staged files
Jean-André Santoni [Fri, 8 Jan 2010 10:56:46 +0000 (11:56 +0100)]
[MT2390] Added tablesorter on staged files

14 years ago[MT2390] Fixed addorderiso2709 breadcrumb
Jean-André Santoni [Fri, 8 Jan 2010 10:41:21 +0000 (11:41 +0100)]
[MT2390] Fixed addorderiso2709 breadcrumb

Booksellername was not showing.

14 years ago[MT2370] Basket header workflow improvement
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.

14 years ago[MT2370] Fixed basketheader breadcrumb
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.

14 years ago[MT2370] Basket header display improvement
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.

14 years ago[MT2593] Fixed budget amount computation in acqui-home
Jean-André Santoni [Tue, 5 Jan 2010 08:18:45 +0000 (09:18 +0100)]
[MT2593] Fixed budget amount computation in acqui-home

14 years agofollowup (bug #4020) XSLT unimarc display
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

14 years agoFixed a major bug in ModReceiveOrder
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.

14 years ago[MT2593] Added "ordered" column in acqui-home budget display
Jean-André Santoni [Mon, 4 Jan 2010 14:35:43 +0000 (15:35 +0100)]
[MT2593] Added "ordered" column in acqui-home budget display

14 years ago[MT2590] Removed root budget duplicate checkings
Jean-André Santoni [Mon, 4 Jan 2010 09:38:08 +0000 (10:38 +0100)]
[MT2590] Removed root budget duplicate checkings

14 years ago(bug #4004) disallow access for non-logged in users in opac
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.

14 years ago[followup](bug #3667) don't delete if member is guarantor
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.

14 years ago[followup](bug #3667) fix dateexpiry filtering
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.

14 years ago[followup](bug #3667) cleaning borrowers fix
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.

14 years ago(bug #4020) XSLT unimarc display
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

14 years agoC4::SQLHelper Changing $$ notation to $ ->
Henri-Damien LAURENT [Thu, 24 Dec 2009 08:25:17 +0000 (09:25 +0100)]
C4::SQLHelper Changing $$ notation to $ ->

14 years agoSuggestions.pm :Changing $$ notation to $ ->
Henri-Damien LAURENT [Wed, 23 Dec 2009 21:55:11 +0000 (22:55 +0100)]
Suggestions.pm :Changing $$ notation to $ ->

14 years agoMT 2285 : enhancement for patronSearch
Henri-Damien LAURENT [Mon, 16 Nov 2009 21:10:03 +0000 (22:10 +0100)]
MT 2285 : enhancement for patronSearch

14 years agoMT2345 : Changes on contracts
Matthias Meusburger [Mon, 28 Dec 2009 10:21:49 +0000 (11:21 +0100)]
MT2345 : Changes on contracts

14 years agoaqbudget display, minor changes
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)

14 years ago#4003 default value in PrepareItemrecordDisplay
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

14 years agoBug :authid empty in Authorities Default summary
Henri-Damien LAURENT [Wed, 23 Dec 2009 14:25:08 +0000 (15:25 +0100)]
Bug  :authid empty in Authorities Default summary

14 years ago(bug #3745) fix deletion of borrowers rights detection
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.

14 years ago(bug #3760) fix and improve some reports
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.

14 years agoTest Improvements : Adding Reserves.t
Henri-Damien LAURENT [Wed, 23 Dec 2009 12:12:42 +0000 (13:12 +0100)]
Test Improvements : Adding Reserves.t

14 years ago(bug #3667) fix borrowers cleanup
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.

14 years agobug Fixing: updatedatabase
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

14 years agocorrecting spelling mistake: firstname is surname
Nicolas Morin [Tue, 22 Dec 2009 15:09:21 +0000 (16:09 +0100)]
correcting spelling mistake: firstname is surname

14 years agoMT2408 : UI Changes / CSV Export
Matthias Meusburger [Tue, 22 Dec 2009 13:06:56 +0000 (14:06 +0100)]
MT2408 : UI Changes / CSV Export

14 years agoBug 3983 : Needed authorised values list for french frameworks.
Henri-Damien LAURENT [Fri, 30 Jan 2009 14:10:54 +0000 (15:10 +0100)]
Bug 3983 : Needed authorised values list for french frameworks.

14 years ago[MT2346] Hide basket actions if no basket
Jean-André Santoni [Mon, 21 Dec 2009 08:34:52 +0000 (09:34 +0100)]
[MT2346] Hide basket actions if no basket

14 years agoDates : improvements string recognition
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

14 years ago[MT2346] Supplier display improvements
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.

14 years agoMT 2426 : Default currency is chosen for price calculation when bookseller's listpric...
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

14 years agoMT 1801 : Opac shelves and basket are displayed the same way
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.

14 years agofollowup : auto_truncation 3287252c0
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

14 years agoBug Fix : 3689
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>
14 years ago(bug #3584) detect ccl queries
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>
14 years agoTranslation scripts : Removing trailing / in scripts
Henri-Damien LAURENT [Thu, 17 Dec 2009 14:38:17 +0000 (15:38 +0100)]
Translation scripts : Removing trailing / in scripts

14 years agoRevert "C4/Search.pm followup auto_truncation 3.0.x cherry-pick"
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

14 years agoImproved guided reports (#3929)
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 &lt;&lt;Question to ask|authorised_value&gt;&gt;.

The &lt;&lt; and &gt;&gt; are just delimiters. You must put &lt;&lt; at the beginning and &gt;&gt; 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=&lt;&lt;Enter title&gt;&gt;" will display results with title='' (no title). If you want to have to have something not mandatory, use "title like &lt;&lt;Enter title&gt;&gt;" and enter a % at run time instead of nothing
Sample :
SELECT surname,firstname FROM borrowers WHERE branchcode=&lt;&lt;Enter patrons library|branches&gt;&gt; AND surname like &lt;&lt;Enter filter for patron surname (% if none)&gt;&gt;

14 years agoMT 2495 : Fix multiple occurences of itemtype in guided reports criteria
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>
14 years agoAdding optgroup labels to translations
Henri-Damien LAURENT [Sun, 13 Dec 2009 18:20:39 +0000 (19:20 +0100)]
Adding optgroup labels to translations

14 years agoSearchInTable : problem with primary key searches
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

14 years agoMT2232 : members/notices.pl and members/messaging.pl are doing the same thing
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

14 years ago[MT1234] Huge rewritte to use the API instead of hardcoded SQL in the script
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.

14 years ago[MT1234] Code cleaning
Jean-André Santoni [Thu, 10 Dec 2009 11:00:46 +0000 (12:00 +0100)]
[MT1234] Code cleaning

14 years ago[MT1234] Fixed aqcontract breadcrumb
Jean-André Santoni [Thu, 10 Dec 2009 10:37:49 +0000 (11:37 +0100)]
[MT1234] Fixed aqcontract breadcrumb

14 years ago[MT1234] Replaced useless selectbox in the title of contact form
Jean-André Santoni [Thu, 10 Dec 2009 10:20:03 +0000 (11:20 +0100)]
[MT1234] Replaced useless selectbox in the title of contact form