assem-ch / django-jet-reboot

Legacy Django jet rebooted to support Django > 3 (4 and 5), and latest python releases
https://django-jet-reboot.readthedocs.io/
GNU Affero General Public License v3.0
421 stars 68 forks source link

django-jet-reboot does not render horizontal_filters in two columns like in the default django admin template #100

Open sougrinoma-sawadogo opened 11 months ago

sougrinoma-sawadogo commented 11 months ago

Issue Summary:

Hello,

I have been using django-jet-reboot, and overall, it's been a fantastic experience. However, I've noticed an inconsistency in the rendering of fields defined as horizontal filters.

In the default Django admin, when a field is specified as a horizontal filter, it renders as expected, with two columns. The first column lists the available items, and the second column lists the assigned items, providing a clear and user-friendly interface: django_horizontal_filter

However, when using django-jet-reboot, specifying a field as a horizontal filter doesn't seem to affect its rendering. Instead, it appears as a single multiple select input using select2, without the desired two-column layout.

Steps to Reproduce:

Define a field as a horizontal filter in django-jet-reboot.
Observe the rendering of the field.

Expected Behavior:

The field should be rendered with a two-column layout similar to the default Django admin when specified as a horizontal filter.

Actual Behavior:

The field renders as a single select input, lacking the expected two-column layout.

Additional Information:

Django Jet Reboot Version: 1.3.3
Django Version: 4.2.4

Thank you for your attention to this matter!