[Koha-bugs] [Bug 19130] K::A::Booksellers->search broken for attribute 'name'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Aug 25 16:57:59 CEST 2017


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #66365|0                           |1
        is obsolete|                            |
  Attachment #66366|0                           |1
        is obsolete|                            |
  Attachment #66367|0                           |1
        is obsolete|                            |
  Attachment #66368|0                           |1
        is obsolete|                            |

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 66480
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66480&action=edit
Bug 19130: Remove ->search() overloading and adjust tests

This patch removes the custom ->search() function. Tests are adjusted
so the results from ->search() calls are not expected to return in the
previously hardcoded order.

To test:
- Apply this patch
- Run:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Bookseller.t
=> SUCCESS: Tests pass
- Sign off :-D

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>

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


More information about the Koha-bugs mailing list