simov / express-admin

MySQL, MariaDB, PostgreSQL, SQLite admin for Node.js
MIT License
1.17k stars 223 forks source link

Add search in list view #17

Closed ajax13 closed 10 years ago

ajax13 commented 10 years ago

Hi,

The searching in list view pages, is it possible ?

simov commented 10 years ago

Everything is possible, it only needs to be implemented first, and it probably will be, but there are plenty of things waiting on the line already.

ajax13 commented 10 years ago

thx simov, i find a temporary solution. I disable the default pagination and i add this Plugin: http://datatables.net/ it provide searching functionality :)

pmapcat commented 8 years ago

@ajax13 can you share your solution?

simov commented 8 years ago

@MichaelLeachim there is a filter key that you can add to each table's listview key. See example here: https://github.com/simov/express-admin-examples/blob/master/config/mysql/settings.json#L145-L156

List all columns there that you want to be able to filter by. Then they will appear in the filter pane - click on the small icon next to the title in the listview screen.

pmapcat commented 8 years ago

@simov Thanks a lot. What do you think of adding search alias to wiki http://simov.github.io/express-admin?

simov commented 8 years ago

You mean a section about that in the docs? I do agree that this features feels a bit non present there.

pmapcat commented 8 years ago

On 20 January 2016 at 22:02, simo notifications@github.com wrote:

You mean a section about that in the docs? I do agree that this features feels a bit non present there.

Yes, that would be great.

— Reply to this email directly or view it on GitHub https://github.com/simov/express-admin/issues/17#issuecomment-173325593.