-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecate getResults in favor of getCurrentPageResults #6760
Merged
VincentLanglet
merged 4 commits into
sonata-project:3.x
from
VincentLanglet:getCurrentPageResults
Jan 12, 2021
Merged
Deprecate getResults in favor of getCurrentPageResults #6760
VincentLanglet
merged 4 commits into
sonata-project:3.x
from
VincentLanglet:getCurrentPageResults
Jan 12, 2021
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
VincentLanglet
force-pushed
the
getCurrentPageResults
branch
from
January 10, 2021 16:38
039f36b
to
9a38d0e
Compare
phansys
requested changes
Jan 11, 2021
Could you please rebase your PR and fix merge conflicts? |
dmaicher
reviewed
Jan 11, 2021
VincentLanglet
force-pushed
the
getCurrentPageResults
branch
from
January 11, 2021 11:32
9a38d0e
to
5d005a0
Compare
VincentLanglet
force-pushed
the
getCurrentPageResults
branch
from
January 11, 2021 11:38
5d005a0
to
91f9d27
Compare
dmaicher
reviewed
Jan 11, 2021
VincentLanglet
force-pushed
the
getCurrentPageResults
branch
from
January 11, 2021 11:49
91f9d27
to
7d322f2
Compare
dmaicher
reviewed
Jan 11, 2021
dmaicher
previously approved these changes
Jan 11, 2021
phansys
reviewed
Jan 11, 2021
phansys
previously approved these changes
Jan 11, 2021
VincentLanglet
force-pushed
the
getCurrentPageResults
branch
from
January 11, 2021 14:53
3e7d3af
to
c9463f7
Compare
phansys
approved these changes
Jan 11, 2021
OskarStark
approved these changes
Jan 12, 2021
franmomu
reviewed
Jan 13, 2021
@@ -940,7 +940,23 @@ protected function initializeIterator() | |||
), E_USER_DEPRECATED); | |||
} | |||
|
|||
$this->results = $this->getResults(); | |||
if (method_exists($this, 'getCurrentPageResults')) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NEXT_MAJOR
comment is missing here
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Subject
I am targeting this branch, because BC.
I just discover that
And I think it's misleading.
getResults
is returning the results of the current page, so I think it's better to rename this function.I also close #6620
Changelog