xiaohutai / jsonapi

[Bolt Extension] JSON API for Bolt CMS

Home Page:https://market.bolt.cm/view/bolt/jsonapi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Additional Queries thows error

rainpoiss opened this issue · comments

In readme there is some querys:

/{ct}/search?q={query} | Searches for {query} in a specific contenttype.
and
/search?q={query} | Searches for {query} in all contenttypes.

when using them i get an error:

Uncaught Exception: ContextErrorException .

ContextErrorException in ParameterFactory.php line 29:
Notice: Undefined index: contentType

I can't seem to find why this goes wrong since the code has been refactored.
It seems that this must've been broken for quite some time too 🤔

Just made a release. Fixed in v3.0.18