Fórumok

Asset Publisher - Best way to filter results based on custom fields

Eric Smith, módosítva 10 év-val korábban

Asset Publisher - Best way to filter results based on custom fields

Junior Member Bejegyzések: 66 Csatlakozás dátuma: 2012.08.28. Legújabb bejegyzések
I have created a hook that filters assets displayed in asset publishers based on custom fields common to the current user and each asset. I have some performance concerns with my implementation, because what I'm doing is requesting the results normally (AssetEntryServiceUtil.getEntries(assetEntryQuery)), and then filtering them further before displaying the results.

Is this the best way of filtering the results based on custom fields? If not, how?

Thanks in advance.
thumbnail
Josef Šustáček, módosítva 10 év-val korábban

RE: Asset Publisher - Best way to filter results based on custom fields

New Member Bejegyzések: 9 Csatlakozás dátuma: 2012.01.11. Legújabb bejegyzések
Hi Eric,

not sure if it is an intention, you've placed your post in Spanish section of the forum. The english one:

https://www.liferay.com/community/forums/-/message_boards/category/239391

has typically much more spectators and you'll be likely to get your answer there.
Eric Smith, módosítva 10 év-val korábban

RE: Asset Publisher - Best way to filter results based on custom fields

Junior Member Bejegyzések: 66 Csatlakozás dátuma: 2012.08.28. Legújabb bejegyzések
Thanks, I'll repost
thumbnail
Juanjo Hernández Cánovas, módosítva 10 év-val korábban

RE: Asset Publisher - Best way to filter results based on custom fields

Regular Member Bejegyzések: 183 Csatlakozás dátuma: 2008.08.11. Legújabb bejegyzések
Take a look to my blog entry on: http://www.pymoo.es/liferay-ordenar-asset-publisher-por-un-campo-de-la-estructura/, hope this helps you!

Regards, Juanjo.