This is an automated email from the ASF dual-hosted git repository. kentontaylor pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/allura.git
commit 6a9c776d94a78fe9bfcdbf1d943f470beadbca1d Author: Dave Brondsema <[email protected]> AuthorDate: Fri Oct 14 13:15:23 2022 -0400 improve artifact_feed.author_link index by including field it is sorted on --- Allura/allura/model/artifact.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Allura/allura/model/artifact.py b/Allura/allura/model/artifact.py index 487530f9d..4ec053255 100644 --- a/Allura/allura/model/artifact.py +++ b/Allura/allura/model/artifact.py @@ -898,7 +898,8 @@ class Feed(MappedClass): ('app_config_id', pymongo.ASCENDING), ('pubdate', pymongo.DESCENDING)), # used in ext/user_profile/user_main.py for user feeds - 'author_link', + (('author_link', pymongo.ASCENDING), + ('pubdate', pymongo.DESCENDING)), # used in project feed (('project_id', pymongo.ASCENDING), ('pubdate', pymongo.DESCENDING)),
