diff --git a/fields/field.textbox.php b/fields/field.textbox.php index baa94e0..7b8ef4a 100755 --- a/fields/field.textbox.php +++ b/fields/field.textbox.php @@ -6,10 +6,7 @@ if (!defined('__IN_SYMPHONY__')) die('

Symphony Error

You cannot directly access this file

'); - require_once TOOLKIT . '/class.xsltprocess.php'; require_once EXTENSIONS . '/textboxfield/extension.driver.php'; - require_once FACE . '/interface.exportablefield.php'; - require_once FACE . '/interface.importablefield.php'; /** * An enhanced text input field. @@ -739,6 +736,17 @@ public function prepareExportValue($data, $mode, $entry_id = null) { public function fetchFilterableOperators() { return array( + array( + 'title' => 'contains', + 'filter' => 'contains:', + 'help' => __('Find values that contain the given string.') + ), + array( + 'title' => 'not-contains', + 'filter' => 'not-contains:', + 'help' => __('Find values that do not contain the given string.') + ), + array( 'title' => 'boolean', 'filter' => 'boolean:', @@ -765,17 +773,6 @@ public function fetchFilterableOperators() )) ), - array( - 'title' => 'contains', - 'filter' => 'contains:', - 'help' => __('Find values that contain the given string.') - ), - array( - 'title' => 'not-contains', - 'filter' => 'not-contains:', - 'help' => __('Find values that do not contain the given string.') - ), - array( 'title' => 'starts-with', 'filter' => 'starts-with:',