Skip to content

Commit 1e18959

Browse files
committed
Merge branch 'develop'
2 parents 38dd952 + cbc7ae4 commit 1e18959

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

filter_tools/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- coding: utf-8 -*-
22
from __future__ import unicode_literals
33

4-
__version__ = '0.0.1'
4+
__version__ = '1.0.0'
55

filter_tools/public/js/filter_tools.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ filter_tools.ui.render = function() {
1212
// the sidebar height is always recalculated after rendering.
1313

1414
var has_sidebar = $("body").attr("data-sidebar");
15-
var route = $("body").attr("data-route");
15+
var route_parts = $("body").attr("data-route").split("/");
16+
var route = route_parts[0] + "/" + route_parts[1];
17+
var route_view = route_parts[3];
18+
1619

1720
if ( route ) {
1821
// route is made from <type>/<id>

0 commit comments

Comments
 (0)