summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indoteknik_api/models/product_template.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/indoteknik_api/models/product_template.py b/indoteknik_api/models/product_template.py
index 780c92e5..9e8d04bc 100644
--- a/indoteknik_api/models/product_template.py
+++ b/indoteknik_api/models/product_template.py
@@ -45,7 +45,8 @@ class ProductTemplate(models.Model):
data_with_detail = {
'solr_flag': product_template.solr_flag,
'product_rating': rate,
- 'search_rank': product_template.search_rank
+ 'search_rank': product_template.search_rank,
+ 'search_rank_weekly': product_template.search_rank_weekly
}
data.update(data_with_detail)
return data