[Koha-bugs] [Bug 19277] New: TT syntax - Data is not ordered in notices
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Sep 8 14:37:27 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19277
Bug ID: 19277
Summary: TT syntax - Data is not ordered in notices
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P5 - low
Component: Acquisitions
Assignee: koha-bugs at lists.koha-community.org
Reporter: jonathan.druart at bugs.koha-community.org
QA Contact: testopia at bugs.koha-community.org
This issue has been highlighted by a failing test: ISSUESLIP displays checkouts
in random order
I thought it was because of dates comparison, but it comes from the following
line in C4::Letters::_get_tt_params
my $objects = $module->search( { $key => { -in => $values } } );
The DBMS will return data like there is ordered in the DB.
For instance:
select borrowernumber from borrowers where borrowernumber in (5, 3, 1);
or
select borrowernumber from borrowers where borrowernumber=5 or
borrowernumber=3 or borrowernumber=1;
will return 1, 3, 5
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list