Fix crashes when loading datagrids with ?sort=,
Review Request #13072 — Created May 25, 2023 and submitted
We occasionally get error emails when web crawlers load datagrids with
poorly-formatted query parameters. Our own links will never try to load
?sort=,, but crawlers sometimes do. This change fixes it to properly
handle the situation where we have a non-empty sort string (",") but do
have empty sort parameters.
Loaded a dashboard with
?sort=,and saw that the page loaded instead
of creating a crash.