[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

--- Comment #6 from Marc Véron  ---
Results with new patch:

dpkg -l libreadonly-xs-perl
Result:
ii  libreadonly-xs-perl  1.04-2+b3  amd64 Faster Readonly implementation

Staff client > About Koha without patch
Readonly::XS (1.02) 1.04 

Staff client > About Koha with patch
Readonly::XS (1.02) 1.04 

The result is now the same with and without patch.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 14057] Inventory is painfully slow

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057

Marc Véron  changed:

   What|Removed |Added

  Attachment #38507|0   |1
is obsolete||

--- Comment #14 from Marc Véron  ---
Comment on attachment 38507
  --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38507
Bug 14057 - A Rough Start - Compare old and new code

Obsoleting my temporary patch with test code

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett  changed:

   What|Removed |Added

  Attachment #38526|0   |1
is obsolete||

--- Comment #5 from M. Tompsett  ---
Created attachment 38527
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38527&action=edit
Bug 13767: Fix Readonly::XS version detection

The about.pl screen is unable to see that version 1.05-1+b1 is
installed because eval "require Readonly::XS" returns an error
message telling you that you can't use Readonly::XS directly.

Since it is the only one, we attempt to use /usr/bin/dpkg to
determine the version number.

TEST PLAN
-
1) $ dpkg -l libreadonly-xs-perl
   -- note the version number
2) Log in to staff client
3) About Koha -> Perl modules
   -- note it says Readonly::XS is not installed.
   -- note the versions and colours of the other modules.
4) Apply patch
5) Reload page and go to Perl modules tab
   -- Readonly::XS should list the version noted in step 1.
   -- the other modules' output should be unchanged.
6) Run koha qa test tools

For non-debian systems lacking a /usr/bin/dpkg, the output
would be identical since the version number variable is
left undefined, which is true for the criteria used for the
missing logic.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 6815] Capture member photo via webcam

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6815

Marc Véron  changed:

   What|Removed |Added

 CC||ve...@veron.ch

--- Comment #12 from Marc Véron  ---
Sorry, could not test patch (no access to webcam with my server / vm)

Tested code on jsfiddle.net with a client - works. I would prefer a client side
solution.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett  changed:

   What|Removed |Added

  Attachment #38521|0   |1
is obsolete||

--- Comment #4 from M. Tompsett  ---
Created attachment 38526
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38526&action=edit
Bug 13767: Fix Readonly::XS version detection

The about.pl screen is unable to see that version 1.05-1+b1 is
installed because eval "require Readonly::XS" returns an error
message telling you that you can't use Readonly::XS directly.

Since it is the only one, we attempt to use /usr/bin/dpkg to
determine the version number.

TEST PLAN
-
1) $ dpkg -l libreadonly-xs-perl
   -- note the version number
2) Log in to staff client
3) About Koha -> Perl modules
   -- note it says Readonly::XS is not installed.
   -- note the versions and colours of the other modules.
4) Apply patch
5) Reload page and go to Perl modules tab
   -- Readonly::XS should list the version noted in step 1.
   -- the other modules' output should be unchanged.
6) Run koha qa test tools

For non-debian systems lacking a /usr/bin/dpkg, the output
would be identical since the version number variable is
left undefined, which is true for the criteria used for the
missing logic.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14057] Inventory is painfully slow

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057

M. Tompsett  changed:

   What|Removed |Added

  Attachment #38483|0   |1
is obsolete||

--- Comment #13 from M. Tompsett  ---
Created attachment 38525
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38525&action=edit
Bug 14057 - A Rough Start

This patch is a rough start. I believe it runs exponentially
faster, but its equality to the previous version needs to be
tested before I clean it up to acceptable standards.

Nested hashes of hashes was being a debugging nightmare.

Moved the SQL select to C4::Koha.

Changed the GetItemsForInventory to have a hashref parameter.
Added interface, in case there is a need for 'opac' vs. 'staff'.

Untested.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

Marc Véron  changed:

   What|Removed |Added

 CC||ve...@veron.ch

--- Comment #3 from Marc Véron  ---
dpkg -l libreadonly-xs-perl

Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
 Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name   VersionArchitektur  
 Beschreibung
+++-==-==-==-=
ii  libreadonly-xs-perl1.04-2+b3  amd64
 Faster Readonly implementation

Staff client > About Koha without patch:
Koha : About without patch:
Readonly::XS (1.02) 1.04 

Staff client > About Koha with patch:
Readonly::XS (1.02) Not Installed

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904

M. Tompsett  changed:

   What|Removed |Added

 Status|Patch doesn't apply |Needs Signoff

--- Comment #31 from M. Tompsett  ---
Hopefully this rebase is correct. One less "Patch does not apply". YAY! :)

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904

M. Tompsett  changed:

   What|Removed |Added

  Attachment #30581|0   |1
is obsolete||

--- Comment #30 from M. Tompsett  ---
Created attachment 38524
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38524&action=edit
Bug 11904: Example usage of new module Koha::Messages

Test plan:
1/ Go to members/moremember.pl
2/ Click on "More" -> "Renew patron" and confirm
3/ A message should appear "Patron's account has been renewed until ..."
4/ In a shell, go to misc/translator and run
  ./translate create fr-FR (or ./translate update fr-FR)
  ./translate install fr-FR
  (you can use your own language of course)
5/ Edit po/fr-FR-messages.po and translate the string "Patron's account
   has been renewed until ..."
6/ In staff interface change language to French and renew patron once
again.
7/ The translated message should appear.

Needs patches from bugs 8044 and 11848 for string translation

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904

M. Tompsett  changed:

   What|Removed |Added

  Attachment #30580|0   |1
is obsolete||

--- Comment #29 from M. Tompsett  ---
Created attachment 38523
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38523&action=edit
Bug 11904: Unit tests for Koha::Messages

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 11904] Proposal for a uniform way to send messages to user interface

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11904

M. Tompsett  changed:

   What|Removed |Added

  Attachment #30579|0   |1
is obsolete||

--- Comment #28 from M. Tompsett  ---
Created attachment 38522
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38522&action=edit
Bug 11904: New module Koha::Messages

This patch provides a uniform way to send messages to user interface.
It uses CGI::Session to store messages and allow to render them thanks
to a Template::Toolkit plugin (Koha::Template::Plugin::Messages)
and a template include file (messages.inc)

This patch doesn't introduce the new template include file anywhere. It
will require additional patches to make it work.

To use it, simply call messages_set() in a Perl script or module, then
put [% INCLUDE 'messages.inc' %] at the right place in the right
template file.

See POD documentation of Koha::Messages for more information.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14057] Inventory is painfully slow

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057

--- Comment #12 from M. Tompsett  ---
(In reply to Marc Véron from comment #11)
> Update: The reason was not in the select statment, but in line 1128;
> 
> $row->{OPAC}  should be: $row->{Intranet}
> 
> I replaced it in my test code, result: New version provides the same results
> as old version.

The problem is the context is unknown for the second function, so opac is
always used with staff client fall-back. If I recall correctly. Not looking at
code right now.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 13024] Nonpublic note not appearing in the staff client

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13024

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

--- Comment #2 from M. Tompsett  ---
Created attachment 38521
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38521&action=edit
Bug 13767: Fix Readonly::XS version detection

The about.pl screen is unable to see that version 1.05-1+b1 is
installed because eval "require Readonly::XS" returns an error
message telling you that you can't use Readonly::XS directly.

Since it is the only one, we attempt to use /usr/bin/dpkg to
determine the version number.

TEST PLAN
-
1) $ dpkg -l libreadonly-xs-perl
   -- note the version number
2) Log in to staff client
3) About Koha -> Perl modules
   -- note it says Readonly::XS is not installed.
   -- note the versions and colours of the other modules.
4) Apply patch
5) Reload page and go to Perl modules tab
   -- Readonly::XS should list the version noted in step 1.
   -- the other modules' output should be unchanged.
6) Run koha qa test tools

For non-debian systems lacking a /usr/bin/dpkg, the output
would be identical since the version number variable is
left undefined, which is true for the criteria used for the
missing logic.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett  changed:

   What|Removed |Added

   Severity|enhancement |minor

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett  changed:

   What|Removed |Added

   Patch complexity|--- |Small patch
 Status|ASSIGNED|Needs Signoff

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13767] Readonly::XS (1:02) is not installed

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13767

M. Tompsett  changed:

   What|Removed |Added

 Status|NEW |ASSIGNED
 CC||mtomp...@hotmail.com
   Assignee|gmcha...@gmail.com  |mtomp...@hotmail.com

--- Comment #1 from M. Tompsett  ---
It has been annoying me too, Isabela. However, this is not a problem to really
worry about if:

$ dpkg -l libreadonly-xs-perl

displays a version higher than 1.02, which you (and I) both have.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 9254] Problem with EnhancedMessagingPreferences

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9254

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 6815] Capture member photo via webcam

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=6815

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14057] Inventory is painfully slow

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057

David Cook  changed:

   What|Removed |Added

 CC||dc...@prosentient.com.au

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 5515] Leading 'and' in search never returns a result

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5515

Marc Véron  changed:

   What|Removed |Added

Version|rel_3_2 |master

--- Comment #5 from Marc Véron  ---
I had similar problems with current master.

And the band played -> No results
the band played ->results

Beauty and the beast -> results
and the beast -> no results
Beauty and -> no results

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the QA Contact for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 5515] Leading 'and' in search never returns a result

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5515

Marc Véron  changed:

   What|Removed |Added

 CC||ve...@veron.ch

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 11929] patron modification error shows borrowernumber

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11929

Marc Véron  changed:

   What|Removed |Added

 CC||ve...@veron.ch
   Assignee|koha-b...@lists.koha-commun |ve...@veron.ch
   |ity.org |
 Status|NEW |Needs Signoff
   Patch complexity|--- |Trivial patch

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 11929] patron modification error shows borrowernumber

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11929

--- Comment #4 from Marc Véron  ---
Created attachment 38520
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38520&action=edit
Bug 11929 - patron modification error shows borrowernumber

If an error occurs in patron batch modification, a message similar to the
following is displayed:
Can not update patron with borrowernumber 7055

It would be useful to have the cardnumber as well.

This patch adds the card number to the lists of errors.

It is not easy to trigger an error (see comments).
For testing, I tweaked the sub ModMember in C4/Members.pm to always return
false.

To test:
Apply patch
Go to  Home > Tools > Batch patron modification
Enter some card numbers, continue to modify.
Try to find a modification that triggers an error in ModMember (C4/Members.pm)
If an error is triggered, verify that the card number is displayed in the error
message(s).

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 14063] Implement language overlay for authorised values

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14063

Josef Moravec  changed:

   What|Removed |Added

 CC||josef.mora...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 14057] Inventory is painfully slow

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14057

M. Tompsett  changed:

   What|Removed |Added

   Assignee|gmcha...@gmail.com  |mtomp...@hotmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 13914] The holds statistics report returns random data

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13914

Eivin Giske Skaaren  changed:

   What|Removed |Added

 CC||eskaa...@yahoo.no

--- Comment #2 from Eivin Giske Skaaren  ---
I am still very new to Koha so please excuse (and explain) if I am thinking
wrong here:

The query that gets fired when testing this bug looks like this:

(SELECT  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  line, reserves.branchcode col,  COUNT(*)  calculation
FROM reserves
LEFT JOIN borrowers USING (borrowernumber)
 WHERE  reservedate >= '2015-04-15'  AND  reservedate <= '2015-04-30'  AND
((  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  = '3' )  OR (  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  = '1' )  OR (  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  = '4' )  OR (  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  = '2' )  OR (  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  = '5' ) ) GROUP BY line, col ) UNION (SELECT  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
else 6
end  line, old_reserves.branchcode col,  COUNT(*) 
calculation
FROM old_reserves
LEFT JOIN borrowers USING (borrowernumber)
 WHERE  reservedate >= '2015-04-15'  AND  reservedate <= '2015-04-30'  AND
((  case
when priority>0 then 1
when priority=0 then
(case
   when found='f' then 4
   when found='w' then
   (case
when cancellationdate is null then 3
else 5
end )
   else 2
 end )
e

[Koha-bugs] [Bug 14060] Remove readonly on date inputs

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14060

Marc Véron  changed:

   What|Removed |Added

 CC||ve...@veron.ch

--- Comment #3 from Marc Véron  ---
Maybe the current date format could be displayed in the alert message?
Something like:

alert(MSG_PLEASE_ENTER_A_VALID_DATE '('+ dateformat + ')');

---
I found following place without validation:

Go to Detail of a patron with hold(s)
Select Tab Hold
Date field near "Suspend all holds until" allows wrong date format, e.g.
"12345678"

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 12072] New dateformat dd.mm.yyyy

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12072

Marc Véron  changed:

   What|Removed |Added

   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=14060

--- Comment #30 from Marc Véron  ---
Added Bug 14060 as related because of function validate_date in
intranet-tmpl/prog/en/includes/calendar.inc (will need adjustments for new date
format dd.mm.).

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

[Koha-bugs] [Bug 14060] Remove readonly on date inputs

2015-04-26 Thread bugzilla-daemon
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14060

Marc Véron  changed:

   What|Removed |Added

   See Also||http://bugs.koha-community.
   ||org/bugzilla3/show_bug.cgi?
   ||id=12072

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/