Issue Bug Closed

#23566Are you sure that if.isGreaterThan and if.isLessThan working fine?

Carsten Bleicker 09/29/10, 18:03 updated 10/02/18, 12:22

Description

I wonder about the result of this:

page.10000 = TEXT
page.10000{

if{
value = 9
isGreaterThan = 10
}
value = 9 greater 10?

}

the result is, that 9 is greater than 10?

(issue imported from #M15856)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

History 3

  1. Chris topher commented 09/29/10, 19:50

    The naming of the options is confusing, but what you describe is the expected behaviour.
    See http://typo3.org/documentation/document-library/core-documentation/doc_core_tsref/4.3.2/view/1/5/#id2507365

    .value=10
    .isGreaterThan=11
    This returns true, because the value of .isGreaterThan is bigger than the basic value 10.

    This works as expected.

  2. Chris topher commented 09/29/10, 19:59

    If you have further questions, please write a mail to the mailing lists at http://lists.typo3.org

  3. Benni Mack changed status Resolved Closed 10/02/18, 12:22