From 982c135ae9c31bb45d942428e03572b43fa5e509 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Sun, 31 Jan 2016 14:54:36 +0100 Subject: Set the field to be the title field, if it's the first property It's the first property when label is set to 'uid' --- add_extbase_property.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/add_extbase_property.sh b/add_extbase_property.sh index dd1545b..664a742 100755 --- a/add_extbase_property.sh +++ b/add_extbase_property.sh @@ -186,6 +186,7 @@ sed -i \ -e "s/\('searchFields.*\)',\$/\1,$field',/" \ -e "s/\('searchFields' => '\),\(.*\)/\1\2/" \ -e "s/\('showRecordFieldList.*\)',\$/\1, $field',/" \ + -e "s/'label' => 'uid'/'label' => '${field}'/" \ $tca_file # Place before the access tab, if that is available -- cgit