Skip to content
Snippets Groups Projects
Forked from spnati / spnati
40256 commits behind the upstream repository.
  • Master-Fate's avatar
    e24b1de7
    Update search logic to handle sorting modes · e24b1de7
    Master-Fate authored
    Added variables to keep track of the user-selected sorting mode, as well
    as the sorting callback to use. As the sorting dropdown is currently in
    the search menu, a sort will only take place when the Search button is
    pressed.
    
    Sorting options are stored in an object map defined in sortingOptionsMap,
    which should allow more sorting modes to be added if desired, as long as
    such a mode can be done programmatically.
    e24b1de7
    History
    Update search logic to handle sorting modes
    Master-Fate authored
    Added variables to keep track of the user-selected sorting mode, as well
    as the sorting callback to use. As the sorting dropdown is currently in
    the search menu, a sort will only take place when the Search button is
    pressed.
    
    Sorting options are stored in an object map defined in sortingOptionsMap,
    which should allow more sorting modes to be added if desired, as long as
    such a mode can be done programmatically.
spniSelect.js 37.98 KiB