Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NDEV-10 Catalog for productivity/management reports to make them faster #157

Merged
merged 6 commits into from
Jul 10, 2017

Conversation

juangallostra
Copy link
Contributor

Definition and creation of a report catalog which is then used by the History tab view in the Reports section to improve performance. Also, completed bika listing column definition documentation.

@@ -508,7 +508,7 @@ def addColumn(cat, col):
at.setCatalogsByType('Sample', ['bika_catalog', 'portal_catalog'])
at.setCatalogsByType('SamplePartition', ['bika_catalog', 'portal_catalog'])
at.setCatalogsByType('ReferenceSample', ['bika_catalog', 'portal_catalog'])
at.setCatalogsByType('Report', ['bika_catalog', ])
# at.setCatalogsByType('Report', ['bika_catalog', ])
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can delete that line


def folderitems(self):
return BikaListingView.folderitems(self, classic=False)
# props = self.context.portal_properties.site_properties
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All those commented lines can be deleted

@Espurna Espurna merged commit 97972b9 into wip Jul 10, 2017
@xispa xispa deleted the NDEV-10-Report-catalog branch August 24, 2017 08:11
@xispa xispa changed the title NDEV 10 report catalog NDEV-10 History view in reports takes 10 seconds to load Oct 9, 2017
@xispa xispa changed the title NDEV-10 History view in reports takes 10 seconds to load NDEV-10 Catalog for productivity/management reports to make them faster Oct 9, 2017
Ruhanga pushed a commit to Ruhanga/senaite.core that referenced this pull request Mar 14, 2022
* Changed Base Catalog Tool

See: senaite#1487

* Changelog updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants