You are here

function merci_commerce_handler_filter_string::op_word in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Overrides views_handler_filter_string::op_word

File

merci_commerce/handlers/merci_commerce_handler_filter_string.inc, line 28
Definition of views_handler_filter_string.

Class

merci_commerce_handler_filter_string
Basic textfield filter to handle string filtering commands including equality, like, not like, etc.

Code

function op_word($field) {
  $this->value = preg_replace("/[\n\r]/", " ", $this->value);
  return parent::op_word($field);
}