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

--- Comment #7 from Martin Renvoize <martin.renvo...@ptfs-europe.com> ---
Comment on attachment 66991
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=66991
Bug 19234: Unit tests for query parameters handling helpers

Review of attachment 66991:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=19234&attachment=66991)
-----------------------------------------------------------------

::: t/Koha/REST/Plugin/Query.t
@@ +68,5 @@
> +
> +    $t->get_ok('/query')
> +      ->status_is( 200 )
> +      ->json_is( '/attributes' => { page => 2, rows => 3 } )
> +      ->json_is( '/filter' => { firstname => { like => 'Manuel%' }, surname 
> => { like => 'Cohen Arazi%' } } );

Is it by design that this 'like' is actually a 'starts with' rather than a
'contains' search?

-- 
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/

Reply via email to