Browse Source

parent creation inside item fixed

master
Dirk Alders 4 years ago
parent
commit
5b5d205476
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      views/userviews.py

+ 1
- 1
views/userviews.py View File

@@ -242,7 +242,7 @@ class base_view(object):
242 242
         return self.item.item_data.formatted_datetime
243 243
 
244 244
     def __parent__(self):
245
-        if pygal.is_searchview(self.request):
245
+        if pygal.is_searchview(self.request) or pygal.is_favouriteview(self.request):
246 246
             return query_view(self.request, search_result_query(self.request))
247 247
         else:
248 248
             return get_wrapper_instance(os.path.dirname(self.full_path), self.request)

Loading…
Cancel
Save