better sorting of geonames

This commit is contained in:
rolux 2011-05-24 14:50:16 +02:00
commit 32b2da184a
4 changed files with 49 additions and 19 deletions

View file

@ -102,10 +102,10 @@ Ox.ListMap = function(options, self) {
editable: true,
id: 'geoname',
removable: false,
operator: '+',
sort: function(v) {
map: function(v) {
return v.split(', ').reverse().join(', ')
},
operator: '+',
title: 'Geoname',
visible: true,
width: 192