Skip to content

Commit

Permalink
simplify -- address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
biyeun committed Dec 17, 2024
1 parent 0161947 commit 24853e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/hqwebapp/tables/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class SelectablePaginatedTableMixin(SingleTableMixin):

@property
def paginate_by_cookie_slug(self):
slug = self.urlname if hasattr(self, "urlname") else self.__class__.__name__
slug = getattr(self, "urlname", self.__class__.__name__)
return f'{slug}-paginate_by'

@property
Expand Down

0 comments on commit 24853e4

Please sign in to comment.