Foren
Asset Publisher - Best way to filter results based on custom fields
Eric Smith, geändert vor 10 Jahren.
Asset Publisher - Best way to filter results based on custom fields
Junior Member Beiträge: 66 Beitrittsdatum: 28.08.12 Neueste Beiträge
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.
Is this the best way of filtering the results based on custom fields? If not, how?
Thanks in advance.
Josef Šustáček, geändert vor 10 Jahren.
RE: Asset Publisher - Best way to filter results based on custom fields
New Member Beiträge: 9 Beitrittsdatum: 11.01.12 Neueste Beiträge
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.
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, geändert vor 10 Jahren.
RE: Asset Publisher - Best way to filter results based on custom fields
Junior Member Beiträge: 66 Beitrittsdatum: 28.08.12 Neueste Beiträge
Thanks, I'll repost
Juanjo Hernández Cánovas, geändert vor 10 Jahren.
RE: Asset Publisher - Best way to filter results based on custom fields
Regular Member Beiträge: 183 Beitrittsdatum: 11.08.08 Neueste Beiträge
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.
Regards, Juanjo.