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-94f89814c4dfmaster
parent
4710d07c4e
commit
493f9f64b0
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -200,7 +200,7 @@
|
||||||
<a class="memberName">
|
<a class="memberName">
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of select="normalize-space(./contacts/contact[@contactType='commonContact']/contactentries[keyId='homepage']/value)"/>
|
<xsl:value-of select="normalize-space(./contacts/contact[@contactType='commonContact']/contactentries[keyId='homepage']/value)"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:if test="(./@role = 'head') and ($setHeadPreText = 'true') and ((string-length(./@status) = 0) or (./@status != 'former'))">
|
<xsl:if test="(./@role = 'head') and ($setHeadPreText = 'true') and ((string-length(./@status) = 0) or (./@status != 'former'))">
|
||||||
<xsl:call-template name="mandalay:getStaticText">
|
<xsl:call-template name="mandalay:getStaticText">
|
||||||
<xsl:with-param name="module" select="'SciProject'"/>
|
<xsl:with-param name="module" select="'SciProject'"/>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue