aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/mauve/web_interface.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/web_interface.rb b/lib/mauve/web_interface.rb
index 889c676..3eedaea 100644
--- a/lib/mauve/web_interface.rb
+++ b/lib/mauve/web_interface.rb
@@ -557,7 +557,7 @@ EOF
%w(source subject alert_id summary).each do |field|
@alerts += Alert.all(field.to_sym.send("like") => "%#{@q}%")
end
-
+ @alerts = @alerts.sort
@title += " #{@alerts.count} records found."
end