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

fix piecesFilters with dynamic choices #4731

Merged
merged 1 commit into from
Sep 23, 2024
Merged

Conversation

ETLaurent
Copy link
Contributor

@ETLaurent ETLaurent commented Sep 18, 2024

Copy link

linear bot commented Sep 18, 2024

@@ -1706,6 +1706,24 @@ module.exports = {
});
},

async getChoicesForQueryBuilder(field, query) {
const req = self.apos.task.getReq();
const allChoices = await self.getChoices(req, field);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

self.getChoices was already there and previously added in #4078, but never used in the builders

@ETLaurent ETLaurent merged commit 3d381a9 into main Sep 23, 2024
8 checks passed
@ETLaurent ETLaurent deleted the pro-6442-pieces-filter branch September 23, 2024 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants