You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2014/05/09 23:42:29 UTC

[09/18] git commit: [#7257] ticket:562 Added 'created' field to project's index method

[#7257] ticket:562 Added 'created' field to project's index method


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/c891b2b3
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/c891b2b3
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/c891b2b3

Branch: refs/heads/db/7257
Commit: c891b2b30d6f6eedfc7fa52a81b6b0c80abb6d46
Parents: baf6601
Author: Ferens Dmitriy <fe...@gmail.com>
Authored: Mon Apr 7 14:31:20 2014 +0300
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Fri May 9 18:56:47 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/project.py | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/c891b2b3/Allura/allura/model/project.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/project.py b/Allura/allura/model/project.py
index 0fe19dc..e0ffec4 100644
--- a/Allura/allura/model/project.py
+++ b/Allura/allura/model/project.py
@@ -1007,6 +1007,7 @@ class Project(SearchIndexable, MappedClass, ActivityNode, ActivityObject):
                       # Not analyzed fields
                       category_id_s=str(self.category_id),
                       neighborhood_id_s=str(self.neighborhood_id),
+                      created_dt=self._id.generation_time,
                       last_updated_dt=self.last_updated,
                       removal_changed_date_dt=self.removal_changed_date,
                       # Analyzed fields