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

Add POST data for orderBy and orderDir in the filter processing. #1434

Open
zonky2 opened this issue Jan 13, 2021 · 3 comments
Open

Add POST data for orderBy and orderDir in the filter processing. #1434

zonky2 opened this issue Jan 13, 2021 · 3 comments
Assignees
Labels
enhancement This issue is about an enhancement (aka new feature)
Milestone

Comments

@zonky2
Copy link
Contributor

zonky2 commented Jan 13, 2021

Add POST data for orderBy and orderDir in the filter processing.

Add POST data to slug parameter here

if (Input::post('FORM_SUBMIT') === $this->formId) {
foreach ($wantedNames as $widgetName) {
$filter = $arrWidgets[$widgetName];
if (null !== $filter['urlvalue']) {
$other->setSlug($widgetName, $filter['urlvalue']);
}
}

@zonky2 zonky2 added the enhancement This issue is about an enhancement (aka new feature) label Jan 13, 2021
@zonky2 zonky2 added this to the 2.2.0 milestone Jan 13, 2021
@zonky2
Copy link
Contributor Author

zonky2 commented Jan 16, 2022

Please note that you can now set the parameters yourself and also make a selection between GET and Slug.

@zonky2
Copy link
Contributor Author

zonky2 commented Jan 26, 2022

@stefanheimes create a new type of filter as "filter_pass_through"

@discordier
Copy link
Member

Can't we add this to the filter module/element instead of adding a non functional filter?

On the given use case, we might want to add a custom "sorting filter" for the frontend, however, I am unsure how this will be integrated into the list and filter module workflow.

@zonky2 zonky2 modified the milestones: 2.2.0, Future, 2.3.0 May 6, 2022
@zonky2 zonky2 modified the milestones: 2.3.0, 2.4.0 Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This issue is about an enhancement (aka new feature)
Projects
None yet
Development

No branches or pull requests

3 participants