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

Bug: onlyDeleted() conflicts to paginate() #3482

Closed
Hiroki97 opened this issue Aug 12, 2020 · 1 comment
Closed

Bug: onlyDeleted() conflicts to paginate() #3482

Hiroki97 opened this issue Aug 12, 2020 · 1 comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them

Comments

@Hiroki97
Copy link

Hiroki97 commented Aug 12, 2020

Direction
We use github issues to track bugs, not for support.
If you have a support question, or a feature request, raise these as threads on our
forum.

Describe the bug
I used onlyDeleted() with paginate() and it showed this SQL query from CI4 logger.
Screenshot (222)

Heres the getResult() and this works.
Screenshot (223)

My situation now.
Screenshot (224)

CodeIgniter 4 version
Codeigniter 4.0.3

Expected behavior, and steps to reproduce if appropriate
This should not be conflicted on softDelete and paginate

@Hiroki97 Hiroki97 added the bug Verified issues on the current code behavior or pull requests that will fix them label Aug 12, 2020
@Hiroki97 Hiroki97 changed the title Bug: onlyDeleted() conflicted to paginate() Bug: onlyDeleted() conflicts to paginate() Aug 12, 2020
@michalsn
Copy link
Member

I couldn't reproduce this error with a simple example. Please update your CodeIgniter to 4.0.4 and try again. You can also try to reproduce this error with a simpler query - it would help a lot.

I'm closing this, since it seems more like an issue in your code logic (or outdated CI version), but feel free to continue conversation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Verified issues on the current code behavior or pull requests that will fix them
Projects
None yet
Development

No branches or pull requests

2 participants