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 user filter where clause and nulldate not being nulldate for bann… #9632

Merged
merged 4 commits into from
Feb 27, 2024

Conversation

Ruud68
Copy link
Contributor

@Ruud68 Ruud68 commented Feb 27, 2024

Pull Request for Issue # .
https://www.kunena.org/forum/k-6-3-0-support/168362-kunena-6-3-0-beta2-dev-user-incorrect-filter-options

Summary of Changes

changed the where clause when there as an OR (signature and banned)

Also the original banned where was filtering on $db->nullDate() which is '0000-00-00 00:00:00' but when I check my kunena users table I see that in field banned a nulldate of '1000-01-01 00:00:00' is used (so not the $db nulldate but an own one). I changed the filter to use the 1000-01-01 00:00:00 nulldate instead.

Testing Instructions

test filters and combinations of filters and see if they work

@xillibit xillibit modified the milestones: 6.2, 6.3 Feb 27, 2024
@xillibit xillibit merged commit 00564cb into Kunena:K6.3 Feb 27, 2024
4 checks passed
@Ruud68 Ruud68 deleted the userfilterfix branch February 28, 2024 10:05
xillibit pushed a commit that referenced this pull request Feb 29, 2024
* Change: categories part one

* Change: enable toggle buttons on categories

* Change: enable toggle buttons on categories

* Change: refactor toolbar

* Change: levels filtering + J5 sorting categories

* [K6.3] Fix user filter where clause and nulldate not being nulldate for bann… (#9632)

* Fix user filter where clause and nulldate not being nulldate for banned users

* changed on / off to yes / no as that makes more sense in the filter (imo)

* quick fix on nulldate check

* cleanup

* [K6.3] Change: refactored logs back-end view into J5 (#9628)

* Change: refactored logs back-end view into J5

* small cleanup

* Change: categories part one

* Change: enable toggle buttons on categories

* Change: enable toggle buttons on categories

* Change: refactor toolbar

* Change: levels filtering + J5 sorting categories

* Fix: conflicting language strings

* Oops: build properties should not have been commited: reverting

* [K6.3] Fix for operations filter field (not translated) in Log view (#9634)

* Change: categories part one

* Change: enable toggle buttons on categories

* Change: enable toggle buttons on categories

* Change: refactor toolbar

* Change: levels filtering + J5 sorting categories

* Fix: conflicting language strings

* Oops: build properties should not have been commited: reverting

* Fix: asveorderUrl not set when sortorder was true bu no items to display
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.

2 participants