Add workaround to have verbose_name reference. Closes #1
Add workaround to have verbose_name reference. Closes #1

The workaround is to pass the verbose_name as part of the attrs dict attribute to the SortedFilteredSelectMultiple() call in the Admin:

def formfield_for_manytomany(self, db_field, request=None, **kwargs):
        if db_field.name == 'your_sortedm2m_field_name':
            kwargs['widget'] = SortedFilteredSelectMultiple(attrs = {'verbose_name': db_field.verbose_name})
        return super(FormAdmin, self).formfield_for_manytomany(db_field, request, **kwargs)

svleeuwen/sortedm2m-filter-horizontal-widget,svleeuwen/sortedm2m-filter-horizontal-widget