[Koha-bugs] [Bug 24191] Sorting doesn't use to_model

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 9 20:28:36 CET 2019


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #96114|0                           |1
        is obsolete|                            |
  Attachment #96115|0                           |1
        is obsolete|                            |
  Attachment #96116|0                           |1
        is obsolete|                            |

--- Comment #5 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 96117
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=96117&action=edit
Bug 24191: Regression tests

This patch adds missing tests for calling objects.search with
non-existent column names for sorting, that should be mapped using
to_model for that matter.

Tests should fail as there's no current use of to_model for building the
order_by portion of the query.

Sponsored-by: ByWater Solutions

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list