The exposed filter for a string has a maximum of 128 characters, this should be unlimited since the value searching for might have a length up to an infinity number of characters (in theory offcourse :-) ).
The restriction can be removed by editing views/handlers/views_handler_filter_string.inc line 180:
$form['value'] = array(
'#type' => 'textfield',
'#title' => t('Value'),
'#size' => 30,
'#default_value' => $this->value,
);
Should be:
$form['value'] = array(
'#type' => 'textfield',
'#title' => t('Value'),
'#size' => 30,
'#default_value' => $this->value,
'#maxlength' => null,
);
Comments
Comment #1
dawehnerCan you provide a patch for it?
Comment #2
markwittens commentedUploaded patch.
Comment #3
iamjon commentedChanging status.
Comment #4
rv0 commentednull should be NULL
did a quick edit of the patch file
Comment #5
dawehnerIt would be really helpful to document what this line means.
Comment #6
dawehnerThe rest of the patch looks fine, but i guess as 6.x-2.x is on a only critical bug-fixes status this will only land in 6.x-3.x and 7.x-3.x
Comment #7
rv0 commentedadditionally, i've got an exposed filter somewhere that takes usernames (comma seperated, ajax autocomplete).. it's not working there.
EDIT: This required a similar fix in views_handler_filter_user_name.inc
Comment #8
mustanggb commented