senaite / senaite.jsonapi

RESTful JSON API for SENAITE
https://www.senaite.com
GNU General Public License v2.0
11 stars 19 forks source link

Index search not working for catalogs other than 'portal_catalog' #24

Closed nihadness closed 6 years ago

nihadness commented 6 years ago

Description of the issue/feature this PR addresses

See https://github.com/senaite/senaite.jsonapi/issues/23

Current behavior before PR

'get_catalog' method is never called with name parameter set and that's why always returns portal_catalog.

Desired behavior after PR is merged

get_catalog method returns specified catalog.


I confirm I have tested the PR thoroughly and coded it according to PEP8 standards.