aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Widget/Notes.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-03 17:31:50 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-03 17:31:50 +0200
commit3d3e7bafd5821a200d2e2cc54463d6f16f5c5f15 (patch)
tree726fb8e64621178734000e24b641312bdd080bae /Zotlabs/Widget/Notes.php
parenta42ff1e6d40496cc93481312b47548200e8af380 (diff)
downloadvolse-hubzilla-3d3e7bafd5821a200d2e2cc54463d6f16f5c5f15.tar.gz
volse-hubzilla-3d3e7bafd5821a200d2e2cc54463d6f16f5c5f15.tar.bz2
volse-hubzilla-3d3e7bafd5821a200d2e2cc54463d6f16f5c5f15.zip
distinct is needed or it can heavily impact pagination in certain situations (5 per page instead of 20). Add ordering to the select clause to mitigate errors in postgres and add item_thread_top = 1 for slightly better performance.
Diffstat (limited to 'Zotlabs/Widget/Notes.php')
0 files changed, 0 insertions, 0 deletions