Message Boards

Liferay 7.0: Customizing core filter function: the best way?

thumbnail
Irina Russkaya, modified 3 Years ago.

Liferay 7.0: Customizing core filter function: the best way?

Junior Member Posts: 44 Join Date: 12/2/16 Recent Posts

Hi,
the problem is I need to customize the filter function in our Document&Media Portlet.

Liferay orders the DLFileEntries by title, size, modifiedDate, etc.(5 options) I want to add to this order list the custom field which I introduced for DLFileEntries. To make so I need also to customize the core filter function which is used by the DM portlet. The end-user should get the correctly ordered items if he/she selects the order by the custom field.


What is the best way to customize it? Ext plugin? Liferay documentation says the ext plugin should only be used if absolutely necessary. 

Many thanks!

 

thumbnail
Mohammed Yasin, modified 3 Years ago.

RE: Liferay 7.0: Customizing core filter function: the best way?

Liferay Master Posts: 591 Join Date: 8/8/14 Recent Posts
thumbnail
Irina Russkaya, modified 3 Years ago.

RE: RE: Liferay 7.0: Customizing core filter function: the best way?

Junior Member Posts: 44 Join Date: 12/2/16 Recent Posts

Thank you. Your info helped me 

 
thumbnail
Irina Russkaya, modified 3 Years ago.

RE: Liferay 7.0: Customizing core filter function: the best way?

Junior Member Posts: 44 Join Date: 12/2/16 Recent Posts

I created my Custom Comparator and did not need an Ext plugin