src/p4l/search/forms.py
changeset 146 3d20cdc9be3d
parent 131 f1854630734f
--- a/src/p4l/search/forms.py	Fri Oct 11 11:46:18 2013 +0200
+++ b/src/p4l/search/forms.py	Fri Oct 11 13:02:51 2013 +0200
@@ -45,7 +45,7 @@
         SearchForm.__init__(self, *args, **kwargs)
         
     def no_query_found(self):
-        return self.searchqueryset.all()
+        return self.searchqueryset.order_by('identifier').all()
     
     def search(self):
         if not self.is_valid():