We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 38dd952 + cbc7ae4 commit 1e18959Copy full SHA for 1e18959
2 files changed
filter_tools/__init__.py
@@ -1,5 +1,5 @@
1
# -*- coding: utf-8 -*-
2
from __future__ import unicode_literals
3
4
-__version__ = '0.0.1'
+__version__ = '1.0.0'
5
filter_tools/public/js/filter_tools.js
@@ -12,7 +12,10 @@ filter_tools.ui.render = function() {
12
// the sidebar height is always recalculated after rendering.
13
14
var has_sidebar = $("body").attr("data-sidebar");
15
- var route = $("body").attr("data-route");
+ 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
+
19
20
if ( route ) {
21
// route is made from <type>/<id>
0 commit comments