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
Entity listing - add related posts counter #171
Comments
For the issue 1 we have to understand if have the new column sortable is a requirement or not: if it is, we have to choose how to implement it. We have (at least) two options
|
Also for the issue 3 we have to consider if we need to pre-calculate the value or calculating it at runtime during the filtering: the first option allows better performances during the filtering but at the same time potentially introduces sync issues. |
For issue 1, this is the right way to do it (let's open a new issue for this specific implementation): we can pre-calculate the total number of related posts and save the results on the db: it's the approach natively used for comments count sortable columns |
For issue 3, also it's better to "precalculate" it. Let's open a separate issue where we can discuss the implementation. |
In the backend, add the # of related posts as custom column within entity posts listing
The text was updated successfully, but these errors were encountered: