summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadd_extbase_property.sh1
1 files changed, 1 insertions, 0 deletions
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