mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-27 19:29:11 -04:00
Order areas by name in examples
When you click through to the page for a library you see the available areas in alphabetical order. The examples given for each library should match this.
This commit is contained in:
@@ -121,7 +121,7 @@ class BroadcastAreasRepository(object):
|
||||
),
|
||||
area_count AS (SELECT COUNT(*) AS c FROM areas),
|
||||
subset_area_count AS (SELECT c - 4 FROM area_count),
|
||||
description_area_names AS (SELECT name FROM areas LIMIT 4),
|
||||
description_area_names AS (SELECT name FROM areas ORDER BY name ASC LIMIT 4),
|
||||
description_areas_joined AS (
|
||||
SELECT GROUP_CONCAT(name, ", ") FROM description_area_names
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user