aboutsummaryrefslogtreecommitdiff
path: root/web/viewsjs
diff options
context:
space:
mode:
Diffstat (limited to 'web/viewsjs')
-rw-r--r--web/viewsjs/key.js.erb6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/viewsjs/key.js.erb b/web/viewsjs/key.js.erb
index 46b4920..945b2e6 100644
--- a/web/viewsjs/key.js.erb
+++ b/web/viewsjs/key.js.erb
@@ -147,17 +147,17 @@ var create_flexigrid_for = {
},
projects: function(key, filter_type) {
create_flexigrid('grid-projects', {
- url: '/api/4/tag/projects?key=' + encodeURIComponent(key),
+ url: '/api/4/key/projects?key=' + encodeURIComponent(key),
colModel: [
{ display: '<%= h(taginfo.project) %>', name: 'project_name', width: 280, sortable: true },
- { display: '<%= h(osm.tag) %>', name: 'key', width: 220, sortable: true },
+ { display: '<%= h(osm.tag) %>', name: 'tag', width: 220, sortable: true },
{ display: '<%= h(osm.objects) %>', name: 'objects', width: 80, sortable: false },
{ display: '<%= h(page.projects.description) %>', name: 'description', width: 600, sortable: false, align: 'left' }
],
searchitems: [
{ display: '<%= h(taginfo.project) %>/<%= h(osm.value) %>', name: 'project_value' }
],
- sortname: 'key',
+ sortname: 'tag',
sortorder: 'asc',
preProcess: function(data) {
data.rows = jQuery.map(data.data, function(row, i) {