掲示板

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

10年前 に Eric Smith によって更新されました。

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

Junior Member 投稿: 66 参加年月日: 12/08/28 最新の投稿
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
10年前 に Josef Šustáček によって更新されました。

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

New Member 投稿: 9 参加年月日: 12/01/11 最新の投稿
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.
10年前 に Eric Smith によって更新されました。

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

Junior Member 投稿: 66 参加年月日: 12/08/28 最新の投稿
Thanks, I'll repost
thumbnail
10年前 に Juanjo Hernández Cánovas によって更新されました。

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

Regular Member 投稿: 183 参加年月日: 08/08/11 最新の投稿
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.