You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2021/10/29 18:08:10 UTC
[allura] 02/02: Fix index definition from [c65ce7a46]
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 de82c3256823c60fccda8e9fad7427b011c78d96
Author: Dave Brondsema <db...@slashdotmedia.com>
AuthorDate: Thu Oct 28 15:57:04 2021 -0400
Fix index definition from [c65ce7a46]
---
Allura/allura/model/index.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Allura/allura/model/index.py b/Allura/allura/model/index.py
index 61a2393..0842436 100644
--- a/Allura/allura/model/index.py
+++ b/Allura/allura/model/index.py
@@ -110,7 +110,7 @@ class Shortlink(MappedClass):
name = str('shortlink')
indexes = [
'ref_id', # for from_artifact() and index_tasks.py:del_artifacts
- 'project_id', 'link', # used by from_links() More helpful to have project_id first, for other queries
+ ('project_id', 'link',) # used by from_links() More helpful to have project_id first, for other queries
]
query: 'Query[Shortlink]'