Permalink
Browse files

Fixed #2096

  • Loading branch information...
1 parent 2f5b47b commit 4310557ece212ece970f931191679aa904fa8554 @mertsincan mertsincan committed Feb 17, 2017
@@ -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);
@@ -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);
}

0 comments on commit 4310557

Please sign in to comment.