HomePhabricator

Switch to HTML results for depicts search dropdown

Authored by NavinoEvans on May 15 2019, 4:52 PM.

Description

Switch to HTML results for depicts search dropdown

This allows us to have the 'label' and 'description' parts of the
search result on different lines, as well as style them separately with
CSS.

  • Add searchResultsFormat function, which is passed to select2

using the templateResult parameter

  • Update processResults select2 function to store label and description

as seprate properties (for use in templateResult function)

  • Add CSS for styling labels and descriptions separately
  • Corrected rrequest data to validate depict statements

Bug: T223168
Change-Id: I47f1d3accf99de523b3f72108378d707a981aa89