summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstephanchrst <stephanchrst@gmail.com>2022-11-23 08:28:04 +0700
committerstephanchrst <stephanchrst@gmail.com>2022-11-23 08:28:04 +0700
commit009024d83a7e831ae1d54551a922b6bcc3e7472b (patch)
tree3dd32c05be0d58fdab78f319ce8bd0a618ed5718
parent8124a3986e715cccbe3f27ff090820ed44948386 (diff)
Update user_activity_log.py
-rwxr-xr-xindoteknik_custom/models/user_activity_log.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/user_activity_log.py b/indoteknik_custom/models/user_activity_log.py
index e02372fc..c94e6309 100755
--- a/indoteknik_custom/models/user_activity_log.py
+++ b/indoteknik_custom/models/user_activity_log.py
@@ -28,6 +28,7 @@ class UserActivityLog(models.Model):
])
for template in templates:
template.search_rank_weekly = 0
+ template.solr_flag = 2
def update_rank_search_weekly(self):
current_time = datetime.now()