After migrating users in a production environment (ADempiere 3.61) from Swing Client to iDempiere ZK Web Client they complained about the lack of the status bar showing records qty when opening a window.
We made a small change at FindWindow and now everybody is happy.
Attached is a image of the status bar from Swing client (Find.java), a image from ZK Web client with our modification (FindWindow.java) and also the patch.
In swing, the code is :
int records = getNoOfRecords(m_query, true);
Wouldn't be better to do same for webui ?
Changed the message as suggested by
Wouldn't be better to have the number of selected records and the total (like in swing) instead of a 'static' count ?
When I open the product window, i can read "Records = 100"
If i filter with name like 'NMD%', i would like to read something like "Records 12 / 100"
At the moment of opening the window - or the find window - it counts the total of records that can be selected and that's the number shown there (I think we inherited that from swing - in some cases that SQL count is undesirable and cause slowness) - when you filter and click OK - then there is no need to show that number - that's shown in the record info.
Yes, there is also the record info ; i forgot it!