Skip to content

Move the display name of filters into the extension

Frank Duncan requested to merge 265-rename-and-group-filters into main

Some new styling may be needed in LFCTheme!38 (merged)

I didn't exactly match what the markup you had in the issue, but I think this makes sense. Feel free to change if you like!

You'll need the following configuration to test in globalview:

$wgTorqueFilterGroups = [
  [
    "name" => "initial",
    "filters" => [
      "admin_review",
      "competition_status",
      "competition_name",
      "achievement_level",
      "rank_percentile",
      "primary_subject_area",
      "priority_populations",
      "key_words_and_phrases",
    ]
  ],
  [
    "name" => "locations",
    "filters" => [
      "future_work_locations",
      "current_work_locations",
      "organization_location",
    ]
  ],
  [
    "name" => "organization",
    "filters" => [
      "annual_operating_budget",
      "number_of_employes",
    ]
  ]
];

Merge request reports

Loading