add prefix for positions
Former-commit-id: 2eb28a3a36f76484db67773b1c6df6f238257aad
--- a/alaveteli/exportAgencies.csv.php
+++ b/alaveteli/exportAgencies.csv.php
@@ -58,7 +58,11 @@
$otherBodies = array_merge($otherBodies, $agency->value->foiBodies);
}
if (isset($agency->value->positions)) {
- $otherBodies = array_merge($otherBodies, $agency->value->positions);
+ $positions = Array();
+ foreach ($agency->value->positions as $position) {
+ $positions[] = "Office of the ".$position;
+ }
+ $otherBodies = array_merge($otherBodies, $positions);
}
sort($otherBodies);
if (count($otherBodies) > 0) {