senaite / senaite.core

Enterprise Open Source Laboratory System (LIMS)
https://senaite.com
GNU General Public License v2.0
254 stars 145 forks source link

Remove CreationDate index from catalogs in favour of created #2591

Closed xispa closed 3 months ago

xispa commented 3 months ago

Description of the issue/feature this PR addresses

This Pull Request removes the index CreationDate from catalogs that inherit from BaseCatalog and makes the queries to use created index instead.

Current behavior before PR

CreationDate and created indexes in catalogs

Desired behavior after PR is merged

created index in catalogs

-- I confirm I have tested this PR thoroughly and coded it according to PEP8 and Plone's Python styleguide standards.