× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Sorting dropdown list in Admin Panel

1 год 9 мес. назад #10046 от Marc Rosenblitt
Marc Rosenblitt создал тему: Sorting dropdown list in Admin Panel
So I'm almost done with building a J4 verson of a component I built 7 years ago. I've figured out almost everything, except how to filter and sort a dropdown list in the admin component edit page.

I have 3 tables. Council, Club, Board. A club has Board Members and belongs in a single council.

When you go to edit a Board Member, the dropdown list of Clubs that the Board member might belong to is 1.) sorting by ID and 2.) displaying entries that are not published any more. I need to filter that list by just the published clubs and sort it by club name.

I was trying to find an SQL statement somewhere, like how the filter dropdown does it. But after a few hours of poking in the code, I just can't figure it out.

Пожалуйста Войти или Регистрация, чтобы присоединиться к беседе.

Время создания страницы: 0.049 секунд
Работает на Kunena форум

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.