/**
  * Add fields for search properties to this form.
  * @param FORM $form
  * @param boolean $extra_visibility Default visibility for extra search fields.
  */
 public function add_fields($form, $extra_visibility = true)
 {
     parent::add_fields($form);
     $field = new ARRAY_FIELD();
     $field->id = 'component_id';
     $field->caption = 'Component';
     $form->add_field($field);
     $field = new BOOLEAN_FIELD();
     $field->id = 'not_kind';
     $field->caption = 'Kind';
     $field->description = 'Invert selection';
     $form->add_field($field);
     $field = new ARRAY_FIELD();
     $field->id = 'kind';
     $field->caption = ' ';
     $form->add_field($field);
     $field = new TEXT_FIELD();
     $field->id = 'extra_description';
     $field->caption = 'Extra Description';
     $form->add_field($field);
 }
 /**
  * Add fields for search properties to this form.
  * @param FORM $form
  * @param boolean $extra_visibility Default visibility for extra search fields.
  */
 public function add_fields($form, $extra_visibility = true)
 {
     parent::add_fields($form);
     $field = new INTEGER_FIELD();
     $field->id = 'colder_than';
     $field->caption = 'Colder than';
     $form->add_field($field);
     $field = new INTEGER_FIELD();
     $field->id = 'warmer_than';
     $field->caption = 'Warmer than';
     $form->add_field($field);
     $field = new ARRAY_FIELD();
     $field->id = 'weather_type';
     $field->caption = ' ';
     $form->add_field($field);
     $field = new BOOLEAN_FIELD();
     $field->id = 'not_weather_type';
     $field->caption = 'Weather';
     $field->description = 'Invert selection';
     $form->add_field($field);
 }