|
@@ -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)
|