Page MenuHomePhabricator

Specify a null behavior for the callsign sort column.
ClosedPublic

Authored by 20after4 on Nov 14 2017, 11:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, May 1, 8:00 AM
Unknown Object (File)
Thu, Apr 25, 12:59 AM
Unknown Object (File)
Fri, Apr 19, 2:43 AM
Unknown Object (File)
Fri, Apr 19, 2:43 AM
Unknown Object (File)
Fri, Apr 19, 2:43 AM
Unknown Object (File)
Thu, Apr 11, 4:04 AM
Unknown Object (File)
Sat, Apr 6, 10:57 AM
Unknown Object (File)
Fri, Apr 5, 3:39 PM
Subscribers

Details

Summary

Fixes paging on the Diffusion Repository List.

PhabricatorRepositoryQuery needs to specify a behavior for null on the OderableColumns definition for the callsign column.

See https://phabricator.wikimedia.org/T180457

Test Plan
  1. On an instance with more than 100 repositories
    • some of which are missing a callsign
  2. Attempt to sort by callsign.
  3. See the sorted results

Previously:

  1. Exception: "Column "0" has null value, but does not specify a null behavior."

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable