Restricted items on Combobox

Description

I have created an enhancement for Table & Table Dir fields.
If the target table has a "IsFrequent" column, the field has a new button (put next to the field) which is used to filter/unfilter items on this new criteria.

The purpose is to fasten the selection of items.

It allow user to first get items which have been flagged as "frequent".
For instance, you have this functionality on charges.
It means that you firstly have the 20 most used charges ; so you can pick on fastly. And if you want to get one which is much unusual, you click on the bolt and you got the full list.

I think it could be useful on : charges, greetings, ... and all lists (based on tables) which have more thant 20 items.

It is working in swing mode ; any help to implement it on webUI would be greatly appreciated.

Regards,

Nicolas

Environment

None

Activity

Show:
Nicolas Micoud
December 18, 2013, 5:10 PM

Closing the ticket as the feature is implemented.
For the usability, a new ticket has been created (1639)

Nicolas Micoud
July 24, 2013, 7:38 AM

Hi,

I've attached a funnel imag
e.
But perhaps, we can use 2 images to suggest action.
Arrows which go outside means : "Show all items"
Arrows which go inside means : "Show only restricted items"
Is it possible to reload an image associated with a field ?

WDYT ?

Regards,

Nicolas

nb : Half of the job done

Carlos Ruiz
March 6, 2013, 7:41 PM

On meeting
http://www.globalqss.com/wiki/index.php/IDempiere/FullMeeting20130227
it was suggested to change the icon for a funnel instead of a padlock

Keeping this ticket open for two reasons:

  • change icon

  • implement some sort of icon on zk (approach for this was suggested on same meeting)

Carlos Ruiz
February 9, 2013, 12:02 AM

Thanks Nicolas, solved here:
https://bitbucket.org/idempiere/idempiere/commits/d07b141

I made a mistake in the commit message

Regards,

Carlos Ruiz

Nicolas Micoud
February 8, 2013, 4:05 PM

Carlos,

In fact, you broke something with your modification.

In the old version (sql) I set the list as Short list when the IsShortList column was craeted AND active.
Means that if the column is deactivated, the short list is no more available.

Using your solution, this is no more possible as you don't test the IsActive field (you are forced to delete the column and field).

Regards,

Nicolas

Fixed

Assignee

Unassigned

Reporter

Nicolas Micoud

Labels

None

Tested By

None

Components

Priority

Minor