diff options
author | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-04-02 01:44:33 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@fury.ukcod.org.uk> | 2011-04-02 01:44:33 +0100 |
commit | 960c1838721cf1f4366fb5c7600aa50b0c9e0c51 (patch) | |
tree | 4e5b47c938ddc19d11187223a3f9d9a0142dc686 /perllib/Problems.pm | |
parent | b62f054c6b219973de587b254e534d7df53c39d9 (diff) |
Add external columns for problems, and show body if present in preference to council.
Diffstat (limited to 'perllib/Problems.pm')
-rw-r--r-- | perllib/Problems.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/Problems.pm b/perllib/Problems.pm index 3710c3a95..7155aa485 100644 --- a/perllib/Problems.pm +++ b/perllib/Problems.pm @@ -226,7 +226,7 @@ sub fetch_problem { used_map, name, anonymous, extract(epoch from confirmed) as time, state, extract(epoch from whensent-confirmed) as whensent, extract(epoch from ms_current_timestamp()-lastupdate) as duration, - service, cobrand, cobrand_data + service, cobrand, cobrand_data, external_body from problem where id=? and state in ('confirmed','fixed', 'hidden') $site_restriction", {}, $id ); |