Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

[OcSelect] Fix search for options provided as objects #1602

Merged
merged 2 commits into from
Aug 23, 2021

Conversation

dschmidt
Copy link
Member

@dschmidt dschmidt commented Aug 21, 2021

Description

I made OcSelect.filtermake use of the label prop as the original filter function of vue-select also does, i.e. this is a regression fix for a breaking change introduced in #1521

Related Issue

  • Fixes <issue_link>

Motivation and Context

This fixes broken search in ownBrander 2.0.

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation added/updated

Open tasks:

  • ...

@update-docs
Copy link

update-docs bot commented Aug 21, 2021

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@CLAassistant
Copy link

CLAassistant commented Aug 21, 2021

CLA assistant check
All committers have signed the CLA.

@dschmidt dschmidt force-pushed the bugfix/filter_objects branch 4 times, most recently from 2afc98a to ff9dcbe Compare August 21, 2021 12:38
@fschade
Copy link
Collaborator

fschade commented Aug 23, 2021

@dschmidt can you please have a look if this works for you

@sonarcloud
Copy link

sonarcloud bot commented Aug 23, 2021

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dschmidt
Copy link
Member Author

Yep, works for me.

Feel free to merge if you're happy now (I just cannot approve my own PR)

@@ -179,19 +179,19 @@ describe("OcTableFiles", () => {
})
})

describe("resource details", () => {
test.skip("resource details", () => {
Copy link
Member

Choose a reason for hiding this comment

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

test.skip? 🤔

Copy link
Member

Choose a reason for hiding this comment

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

ah, because they were not enabled before

@kulmann kulmann merged commit 9e7c271 into master Aug 23, 2021
@delete-merged-branch delete-merged-branch bot deleted the bugfix/filter_objects branch August 23, 2021 21:02
@dschmidt
Copy link
Member Author

🎉

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants