Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix/1.2.1 - Fix array to string conversion in Sortby plugin #54

Merged
merged 1 commit into from
Jun 1, 2020

Conversation

olsi-qose
Copy link
Member

@olsi-qose olsi-qose commented Jun 1, 2020

Description

Fix array to string conversion for the Nosto sorting option in the admin catalog page

Related Issue

closes #55

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • I have assigned the correct milestone or created one if non-existent.
  • I have correctly labeled this pull request.
  • I have linked the corresponding issue in this description.
  • I have updated the corresponding Jira ticket.
  • I have requested a review from at least 2 reviewers
  • I have checked the base branch of this pull request
  • I have checked my code for any possible security vulnerabilities

@olsi-qose olsi-qose changed the base branch from develop to master June 1, 2020 08:43
@olsi-qose olsi-qose self-assigned this Jun 1, 2020
@olsi-qose olsi-qose requested a review from mridang June 1, 2020 08:45
@olsi-qose olsi-qose added the bug Something isn't working label Jun 1, 2020
@olsi-qose olsi-qose added this to the 1.2.1 milestone Jun 1, 2020
@olsi-qose olsi-qose changed the title Hotfix/1.2.1 Hotfix/1.2.1 - Fix array to string conversion in Sortby plugin Jun 1, 2020
@@ -102,7 +102,7 @@ public function afterGetAllOptions( // phpcs:ignore Generic.CodeAnalysis.UnusedF
) {
// new option
$customOption = [
['label' => __(['Relevance']), 'value' => NostoHelperSorting::NOSTO_PERSONALIZED_KEY]
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this not caught by Phan?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure why, need to look further into that

@olsi-qose olsi-qose merged commit 7977ec3 into master Jun 1, 2020
@supercid supercid deleted the hotfix/1.2.1 branch June 9, 2020 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants