From 5076e5a5aa6e4ec36b82f7ac6e7351eb87130da3 Mon Sep 17 00:00:00 2001 From: Christopher Date: Sat, 7 Mar 2015 13:30:43 +0100 Subject: [PATCH] [TASK] Document deprecation of andWhere of the select function stop using andWhere in examples. Migrate to .where and .markers. Related: #25112 --- Documentation/ContentObjects/LoadRegister/Index.rst | 4 ++-- Documentation/ContentObjects/Text/Index.rst | 2 +- Documentation/Functions/Select/Index.rst | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/ContentObjects/LoadRegister/Index.rst b/Documentation/ContentObjects/LoadRegister/Index.rst index 9e23e9ef..bf8da00a 100644 --- a/Documentation/ContentObjects/LoadRegister/Index.rst +++ b/Documentation/ContentObjects/LoadRegister/Index.rst @@ -75,8 +75,8 @@ Example: pidInList = this orderBy = sorting # Now we use the registered parameter - andWhere = uid = {REGISTER:param} - andWhere.insertData = 1 + where = uid = {REGISTER:param} + where.insertData = 1 } 10.renderObj = COA 10.renderObj { diff --git a/Documentation/ContentObjects/Text/Index.rst b/Documentation/ContentObjects/Text/Index.rst index a22a8c39..ab49d388 100644 --- a/Documentation/ContentObjects/Text/Index.rst +++ b/Documentation/ContentObjects/Text/Index.rst @@ -97,7 +97,7 @@ Here is the same example in its context:: 10 { table = tt_content select { - andWhere.dataWrap = irre_parentid = {field:uid} + where.dataWrap = irre_parentid = {field:uid} begin = 0 } diff --git a/Documentation/Functions/Select/Index.rst b/Documentation/Functions/Select/Index.rst index fd770cda..77dba94a 100644 --- a/Documentation/Functions/Select/Index.rst +++ b/Documentation/Functions/Select/Index.rst @@ -207,6 +207,9 @@ Always secure input from outside, for example with intval! andWhere = NOT doktype + **Note:** This property is deprecated since TYPO3 7.1! Use + the properties .where and .markers instead. + .. container:: table-row