https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21262

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #78928|0                           |1
        is obsolete|                            |

--- Comment #4 from Jonathan Druart <[email protected]> 
---
Created attachment 78941
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=78941&action=edit
Bug 21262: Do not format numbers for editing if too big

This patch copies the code from bug 15770 to the format_for_editing
sub.

It also corrects schema issue, listing the purpose for two acq columns
instead of claing unused

To test:
1 - Edit a fund
2 - Set warning at amount to: 100000000000000
3 - Save budget
4 - Try to edit - internal server error
5 - Apply patch
6 - Should be able to edit budget
7 - Number should appear unformatted

Signed-off-by: Christopher Brannon <[email protected]>

Signed-off-by: Jonathan Druart <[email protected]>
2 quick notes:
1. Code must be moved to a subroutine if reused later
2. It would have prefered to have the comment of the 2 DB columns on a separate
patch
(even separate bug report). As it's minor and that the patch will certainly
backported
I will not block it.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to