Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • Wrong Operator starts/ends with field title properties

    In SmartClient code (at least in v11.1p_2018-10-14/PowerEdition Deployment), wrong title properties are assigned to operators that test for a value that starts or ends with the value of a field. Including case insensitive and inversed variants. For example, the title property for the startsWith operator is "iStartsWithTitleField" instead of "iStartsWithFieldTitle".

    Workaround that corrects all errors:

    Code:
    var operators = isc.DataSource.getSearchOperators()
    
    operators.startsWithField.titleProperty="iStartsWithFieldTitle"
    operators.startsWithField.textTitleProperty="startsWithFieldTitle"
    operators.endsWithField.titleProperty="iEndsWithFieldTitle"
    operators.endsWithField.textTitleProperty="endsWithFieldTitle"
    operators.iStartsWithField.titleProperty="iStartsWithFieldTitle"
    operators.iEndsWithField.titleProperty="iEndsWithFieldTitle"
    
    operators.notStartsWithField.titleProperty="iNotStartsWithFieldTitle"
    operators.notStartsWithField.textTitleProperty="notStartsWithFieldTitle"
    operators.notEndsWithField.titleProperty="iNotEndsWithFieldTitle"
    operators.notEndsWithField.textTitleProperty="notEndsWithFieldTitle"
    operators.iNotStartsWithField.titleProperty="iNotStartsWithFieldTitle"
    operators.iNotEndsWithField.titleProperty="iNotEndsWithFieldTitle"

  • #2
    Thanks for the headsup - we've fixed these operator titles back to 11.1 - you can retest in builds dated October 18 and later
    Last edited by Isomorphic; 17th Oct 2018, 00:10.

    Comment

    Working...
    X