Updated: Optimized search results in the admin search page. #939
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Added controller wise permissions to the search results, for example: only the employees having the access to room types will be able view the room types in search result.
Added the following in the search results:
- Hotels: hotels can be searched using the name, or admin can select newly added search type hotel and can open edit hotel page by using a valid id_hotel.
- Service products: Admin can search service products using the name, or admin can select search type catalog and can open edit service product page by using a valid service id_product.
- Customer addresses: Admin can search customers addresses using city, state, country, alias, address1, postcode, etc.
- Customer messages: Admin can search customer message, in case a message belongs to an order then it will restricted by hotel wise employee permission, whereas the messages that is sent from the contact us page will be displayed to all the employees.
- Global demands: Admin will now get Additional facilities in the search page results and Admin can search additional facilities using their name only.
- Hotel Features: Admin will now get hotel features in the search page results and Admin can search hotel facilities using their name only.
- Refund rules: Admin will now get refund rules in the search page results.