search in the toolbar


Thiat was discussed at the iDempiere workshop 2019.

We like to have preconfigured searches in the toolbar. We can add these as a submenu to the search button or as a combobox. The combobox also shows the actual search's name in the ui.

showed us his implementation and we like to review and integrate that.




Diego Ruiz
September 22, 2020, 2:48 PM

Copying the discussion from


one thing that bother me is the out of the box look of this is poor - you have 1 big empty drop down box at all your data entry window that did nothing.

I think we can think about potential solutions for this:

  1. Hide or inactivate that Searchbox if no saved queries exist. But I think this would be not good for UX, as the toolbar would change from window to window.

  2. Maybe we could add a default option - if no query exists, we show a ** new query ** option that opens the Find window for a new query.


  1. This one sounds bad - the memory of toolbar is positional.

  2. Alternatively, we could change the placeholder to something different than "Query Name", like:

    • if the list is empty: "Click Find button to query"

    • if the list have saved searches: "Select Query"


regarding to saved queries. for example, in salesforce they have defaults, like all records, x days, my records - so dropdown is never empty.

Carlos Ruiz
March 10, 2020, 5:33 PM

This was committed in 7.1 - but is just visible in 7.1z

If anybody wants to use it in 7.1 - then it must run the migration scripts:

in that order.

Carlos Ruiz
March 8, 2020, 2:15 PM

Yes, drop down is shown always, and I think it must, position of the buttons in the toolbar is better to be consistent in the UI.

But, in case somebody doesn't like it - it can be removed easily inactivating the record in toolbar window. I think these changes will be better introduced for next version, so, we can enable the code here (as the sponsor wants to use it in 7.1), and apply the migration script in 7.1z

Heng Sin Low
March 8, 2020, 9:07 AM

Hi , +1 for third.

Question - is the dropdown shown if there’s no saved query for the window ?



Diego Ruiz


Thomas Bayen


Tested By


Fix versions