Skip to content

IBX-6878: Customize search sorting#2226

Merged
adriendupuis merged 17 commits intomasterfrom
sorting_search_php
Apr 19, 2024
Merged

IBX-6878: Customize search sorting#2226
adriendupuis merged 17 commits intomasterfrom
sorting_search_php

Conversation

@adriendupuis
Copy link
Copy Markdown
Contributor

@adriendupuis adriendupuis commented Nov 21, 2023

Question Answer
JIRA Ticket IBX-6878
Versions 4.6
Edition All

How to customize Back Office search result page's "Sort by" drop-down menu.

Install and run example:

cp -R $DOC_DIR/code_samples/back_office/search/* $DXP_DIR/
cd $DXP_DIR/                
tail -n +2 config/append_to_services.yaml >> config/services.yaml && rm config/append_to_services.yaml

Go to search page (e.g. http://localhost/admin/search?search%5Bquery%5D=user), open the sorting menu, see the "Sort by section" options.

Checklist

  • Text renders correctly
  • Text has been checked with vale
  • Description metadata is up to date
  • Redirects cover removed/moved pages
  • Code samples are working
  • PHP code samples have been fixed with PHP CS fixer
  • Added link to this PR in relevant JIRA ticket or code PR

Copy link
Copy Markdown
Member

@adamwojs adamwojs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor comments, but overall good job 💪

Comment thread code_samples/back_office/search/config/append_to_services.yaml Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Co-authored-by: Adam Wójs <adam@wojs.pl>
Comment thread code_samples/back_office/search/translations/ibexa_search.en.yaml
@adriendupuis adriendupuis marked this pull request as ready for review February 14, 2024 12:28
Copy link
Copy Markdown
Contributor

@julitafalcondusza julitafalcondusza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See my comments.

Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Co-authored-by: julitafalcondusza <117284672+julitafalcondusza@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@julitafalcondusza julitafalcondusza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check my comments.

Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread mkdocs.yml Outdated
Comment thread docs/administration/back_office/search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

@mnocon mnocon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment thread docs/administration/back_office/customize_search_sorting.md Outdated
Co-authored-by: Marek Nocoń <mnocon@users.noreply.github.com>
@adriendupuis adriendupuis merged commit 9d37154 into master Apr 19, 2024
@adriendupuis adriendupuis deleted the sorting_search_php branch April 19, 2024 08:00
adriendupuis added a commit that referenced this pull request Apr 19, 2024
---------

Co-authored-by: Adrien Dupuis <adrien.dupuis@ibexa.co>
Co-authored-by: Adam Wójs <adam@wojs.pl>
Co-authored-by: julitafalcondusza <117284672+julitafalcondusza@users.noreply.github.com>
Co-authored-by: Tomasz Dąbrowski <64841871+dabrt@users.noreply.github.com>
Co-authored-by: Marek Nocoń <mnocon@users.noreply.github.com>
(cherry picked from commit 9d37154)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants