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

--- Comment #57 from Marcel de Rooy <[email protected]> ---
In the meantime another year has passed ;)

I was wrestling again with ways to use what is currently available like:
/api/v1/biblios?q=[{"title":"Learning Perl \/"}]
This is an exact search. Not very attractive but it works.

/api/v1/biblios?q=[{"title":{"-regexp":"perl"}}]
/api/v1/biblios?q=[{"title":{"-like":"%25perl%25"}}]
These kind of work, but they are not the same as title searches on the OPAC.
This would need things like:
/api/v1/biblios?q=[{"title":{"-regexp":"(\\W|^)perl\\W"}}]
Which obviously is very tedious..

It would be nice if we could do a title search or keyword search, something
like:
/api/v1/biblios?title=perl
Which should imho be interpreted as a starts_with word search. And should be
possible to configure with _match?
/api/v1/biblios?keyword=perl

I agree that we should not refer to CCL anymore here. And I also think that we
should not add this to public but run it with a simple api user having
catalogue perms.

The fact that we still dont have a more intuitive way to search the biblio
records in the API apart from these ugly json constructs, is a bit
disappointing?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to