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

RHBA-365 - Pagination displays incorrect amount of tasks when custom … #1110

Merged
merged 1 commit into from Jan 16, 2018

Conversation

mswiderski
Copy link
Contributor

…advanced query returns duplicate records

@@ -60,7 +68,18 @@ public void preprocess(DataSetLookup lookup) {
filter.addFilterColumn(columnFilter);
lookup.addOperation(filter);
}

if (lookup.getLastGroupOp() == null) {
Copy link
Member

Choose a reason for hiding this comment

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

Could be extracted in util method maybe cause seems to be reusable logic?

@@ -69,7 +77,19 @@ public void preprocess(DataSetLookup lookup) {
filter.addFilterColumn(columnFilter);
lookup.addOperation(filter);
}


if (lookup.getLastGroupOp() == null) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@@ -65,5 +73,17 @@ public void preprocess(DataSetLookup lookup) {
filter.addFilterColumn(columnFilter);
lookup.addOperation(filter);
}
if (lookup.getLastGroupOp() == null) {
Copy link
Member

Choose a reason for hiding this comment

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

same here

@mswiderski
Copy link
Contributor Author

Jenkins execute full downstream build

@mswiderski
Copy link
Contributor Author

@tsurdilo fixed the duplication

@mswiderski
Copy link
Contributor Author

Jenkins execute full downstream build

@mswiderski mswiderski merged commit 977b1c0 into kiegroup:master Jan 16, 2018
@mswiderski mswiderski deleted the RHBA-365 branch January 16, 2018 13:39
mswiderski added a commit to mswiderski/jbpm that referenced this pull request Jan 18, 2018
mswiderski added a commit that referenced this pull request Jan 31, 2018
hxf0801 pushed a commit to hxf0801/jbpm that referenced this pull request Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants