Show More
@@ -264,7 +264,7 b' class Post(models.Model, Viewable):' | |||||
264 | }) |
|
264 | }) | |
265 |
|
265 | |||
266 | def get_search_view(self, *args, **kwargs): |
|
266 | def get_search_view(self, *args, **kwargs): | |
267 | return self.get_view(args, kwargs) |
|
267 | return self.get_view(need_op_data=True, *args, **kwargs) | |
268 |
|
268 | |||
269 | def get_first_image(self) -> PostImage: |
|
269 | def get_first_image(self) -> PostImage: | |
270 | return self.images.earliest('id') |
|
270 | return self.images.earliest('id') |
General Comments 0
You need to be logged in to leave comments.
Login now