Fixed bug in the filters for object lists (error when search term contains an apostroph)

git-svn-id: https://svn.libreccm.org/ccm/trunk@2780 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2014-07-25 08:35:46 +00:00
parent 4710d07c4e
commit 493f9f64b0
2 changed files with 3 additions and 1 deletions

View File

@ -34,6 +34,8 @@ public class TextFilter implements Filter {
@Override @Override
public void setValue(final String value) { public void setValue(final String value) {
this.value = value; this.value = value;
this.value = this.value.replace('\'', '%');
this.value = this.value.replace('\"', '%');
} }
@Override @Override