Search keywords not working in API calls

Describe the problem you’re having:

I’m attempting to query the API for feed articles that are both unread and starred. I’m POSTing the following to my ttrss instance:

{u'search': u'unread:true star:true', u'view_mode': u'unread', u'feed_id': 298, u'include_attachments': True, u'sid': u'56sd5dhol4ujo9fafo3u3u72cd', u'op': u'getHeadlines'}

which should return any articles associated with feed_id=298 that are both unread and have a star. However, even when the website UI shows at least 1 article that is both starred and unread, the API is returning no results for the above query:
{u'status': 0, u'content': [], u'seq': 0}

tt-rss version (including git commit id):
Tiny Tiny RSS v19.2 (9423d72)

Platform (i.e. Linux distro, PHP, PostgreSQL, etc) versions:
Linux (Fedora 29), php-7.2.18, postgresql-9.6.13

This looks like an API bug?

This is the current feed_id=298 unread, starred article that the API is failing to return:

star_unread

strange, those should all use same search -> sql code. i’ll try to take a look at this monday.

try this https://git.tt-rss.org/fox/tt-rss/commit/09f520eda2f8ace131335c5a2837e712d4687dc8

Yes, that fixed it. Thanks!