|
|
|
|
242
|
return self.item.item_data.formatted_datetime
|
242
|
return self.item.item_data.formatted_datetime
|
243
|
|
243
|
|
244
|
def __parent__(self):
|
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
|
return query_view(self.request, search_result_query(self.request))
|
246
|
return query_view(self.request, search_result_query(self.request))
|
247
|
else:
|
247
|
else:
|
248
|
return get_wrapper_instance(os.path.dirname(self.full_path), self.request)
|
248
|
return get_wrapper_instance(os.path.dirname(self.full_path), self.request)
|