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 aefb5c9..dd1545b 100755
--- a/add_extbase_property.sh
+++ b/add_extbase_property.sh
@@ -184,6 +184,7 @@ sql_type="${sql_types["$typ"]}"
sed -i \
-e "s/\('searchFields' => .*\),',/\1',/" \
-e "s/\('searchFields.*\)',\$/\1,$field',/" \
+ -e "s/\('searchFields' => '\),\(.*\)/\1\2/" \
-e "s/\('showRecordFieldList.*\)',\$/\1, $field',/" \
$tca_file