moltam89/liferay-portal — pull request #316 by IstvanD (2014-01-27 11:50:54+00:00)
Title: [TECHNICAL-SUPPORT] LPS-43709 Category selector's search ignores the user's display language

Hello Tamás,

when the the customer chooses an asset category he wants to search after asset categories in his own display language.
Currently the search box accepts only asset category names, which are not localized. This means, that they are present only in the default locale.
If the search subject could be the title field, then the search result could be displayed in the users own language, since the title field is localized.

The search box uses the assetcategory/search service, which is expecting a name parameter as the search subject.
I modified this service to accept a title parameter. In order to a achieve this, I has to modify the parameter list of the search() methods in the service layer too.

The search methods are using the G_LikeN_V finder for selecting the asset categories by name.
I added a new G_LikeT_V finder for the AssetCategory entity, which does the search by title, instead of name.
The service builder generated the new finder methods in the service and persistence layer.

Best regards,
István