Pegase745 / sqlalchemy-datatables

SQLAlchemy integration of jQuery DataTables >= 1.10.x (Pyramid and Flask examples)
MIT License
159 stars 67 forks source link

Select menu behaviour and distinct clause #101

Closed pankus closed 5 years ago

pankus commented 7 years ago

Dear all, maybe I did not understand very well the source code, but I think I found a small bug. This issue occurs when I have to deal with select menus. If the pertinent column contains groups of identical data (i.e. basic, basic, perl, python, c++), the program does not operate any distinct to manage the value-option pairs of the select menu and give back all the possible values (sometimes with many duplicates). As far I can understand this is an unexpected behaviour.

many thanks in advance, p

p.s. just to tray to understand sometihing ... is this governed by _set_yadcf_data?

pankus commented 7 years ago

apparently this works for my case: #104