Commits

Luke Plant committed 297e0ed

Removed some unused code

Comments (0)

Files changed (1)

django_easyfilters/filters.py

         """
         if self.order_by_count:
             choices.sort(key=operator.attrgetter('count'), reverse=True)
-        else:
-            choices = self.sort_choices_custom(qs, choices)
-        return choices
-
-    def sort_choices_custom(self, qs, choices):
-        """
-        Override this to provide a custom sorting method for a field. If sorting
-        can be better done in the DB, it should be done in the get_choices_add
-        method.
-        """
         return choices
 
     def normalize_add_choices(self, choices):