-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EZP-31680: Added UDW Search language filter #1407
Conversation
@@ -130,11 +130,14 @@ export const loadAccordionData = ( | |||
.catch(showErrorNotification); | |||
}; | |||
|
|||
export const findLocationsBySearchQuery = ({ token, siteaccess, query, limit = QUERY_LIMIT, offset = 0 }, callback) => { | |||
export const findLocationsBySearchQuery = ({ token, siteaccess, query, limit = QUERY_LIMIT, offset = 0, languageCode = null }, callback) => { | |||
const useAlwaysAvailable = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm no familiar with this option, is this something I would like to change to false in some cases?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dew326 I don't think it should be changed for false while searching in UDW, its hard-coded to true in main "Search" module as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"useAlwaysAvailable defaults to true to avoid exceptions on missing translations"
You can merge it up. |
Done: 87b37d1 |
PR is a direct continuation of ezsystems/ezplatform-admin-ui-modules#286
Related
ezplatform-kernel
PR: ezsystems/ezplatform-rest#51Checklist:
$ composer fix-cs
)