Description of problem: The repo summary table may error out if sorting the columns without any sync history. Solution is to calculate appropriate values for all columns in RepoListView, rather than attempting to access index 0 of the sync history in RepoTable columnn definitions. See https://github.com/bradleyayers/django-tables2/issues/81
Updated for 0.0.18
Expected behaviour: repo summary table can be sorted correctly (this bug was really easy to trigger once BZ#839139 was fixed, as the site metadata "repo" never has a sync history)
Fixed in 0.1.0