A OK thanks a lot for the explanation ;)
Le 03/11/2020 à 11:30, Jonathan Druart a écrit :
Hi Frido,
On 26407 we must use an arrayref as we searched on the same attribute,
but otherwise both syntax are identical.
Koha::Patrons->search({ -or => { surname => 'koha', firstname => 'koha' } })
Hi Frido,
On 26407 we must use an arrayref as we searched on the same attribute, but
otherwise both syntax are identical.
Koha::Patrons->search({ -or => { surname => 'koha', firstname => 'koha' } })
Koha::Patrons->search({ -or => [ surname => 'koha', firstname => 'koha' ] })
Koha::Patrons->search
Hi,
I recently changed a call on Koha::Biblios->search() to use an arrayref
instead of hashref :
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26407
But I see there are both arrayref of hashref existing in code for "-or"
query.
What is the difference ?
Is there a way we should c