Changeset 125429 in spip-zone


Ignore:
Timestamp:
Oct 1, 2020, 8:55:03 PM (2 months ago)
Author:
Maïeul Rouquette
Message:

filtres insensibles à la casse

Location:
_plugins_/formidable_tablesorter/branches/dev
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/formidable_tablesorter/branches/dev

    • Property subgit:lock:3b54af03d7cdbef4d6386ff02ff57060792a4d21 deleted
    • Property subgit:lock:6dc1ebc9bb4f8ea38044f2cdfa1ef4fed43ab9de set to 2020-10-04T17:38:53.679
  • _plugins_/formidable_tablesorter/branches/dev/javascript/formidable_ts.json_fonctions.php

    r125357 r125429  
    4141                }
    4242                $this->filter = array_map(function($a)  {
     43                        $a = strtolower($a);
    4344                        if (!preg_match('#(=|>|<|MATCH)#', $a)) {
    4445                                $a = " MATCH '/$a/'";
     
    383384                $this->value = $param['value'];
    384385                $this->sort_value = $param['sort_value'] ?? \textebrut($this->value);
    385                 $this->filter_value = $param['filter_value'] ?? \textebrut($this->value);
     386                $this->filter_value = strtolower($param['filter_value'] ?? \textebrut($this->value));
    386387                $this->crayons= $param['crayons'] ?? false;
    387388                $this->type = $param['type'] ?? 'champ';
Note: See TracChangeset for help on using the changeset viewer.