diff options
Diffstat (limited to 'core/views_caves.py')
-rw-r--r-- | core/views_caves.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/views_caves.py b/core/views_caves.py index dfcbf39..96efe9e 100644 --- a/core/views_caves.py +++ b/core/views_caves.py @@ -78,6 +78,8 @@ def caveKey(x): Note that cave kataster numbers are not generally integers. This needs to be fixed make a decent sort order. """ + if not x.kataster_number: + return "~" return x.kataster_number def getnotablecaves(): |