Skip to content

Commit

Permalink
Fixed #2096
Browse files Browse the repository at this point in the history
  • Loading branch information
mertsincan committed Feb 17, 2017
1 parent 2f5b47b commit 4310557
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ public void decode(FacesContext context, DataTable table) {
String clientId = table.getClientId(context);
Map<String,String> params = context.getExternalContext().getRequestParameterMap();
String selection = params.get(clientId + "_selection");
Object originalValue = table.getValue();
Object filteredValue = table.getFilteredValue();
boolean isFiltered = (filteredValue != null);

Expand All @@ -51,6 +50,7 @@ public void decode(FacesContext context, DataTable table) {
else
decodeMultipleSelection(context, table, selection);

Object originalValue = table.getValue();
if(isFiltered) {
table.setValue(originalValue);
}
Expand Down

1 comment on commit 4310557

@jxmai
Copy link
Contributor

@jxmai jxmai commented on 4310557 Mar 3, 2017

Choose a reason for hiding this comment

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

This commit created a regression: #2137

Please sign in to comment.