diff --git a/Gemfile b/Gemfile
index d06ee756..d9294841 100644
--- a/Gemfile
+++ b/Gemfile
@@ -35,9 +35,3 @@ end
# Dav4Rack
gem 'ox'
-
-if Dir.exist?(File.expand_path('../../easyproject/easy_plugins/easy_extensions', __FILE__))
- group :default, :rys do
- gem 'dmsf_easy_query', git: 'git@git.easy.cz:platform-2.0/features/dmsf_easy_query.git', branch: 'master'
- end
-end
\ No newline at end of file
diff --git a/app/views/dmsf/_dir.html.erb b/app/views/dmsf/_dir.html.erb
index 405d6cc7..d554b53a 100644
--- a/app/views/dmsf/_dir.html.erb
+++ b/app/views/dmsf/_dir.html.erb
@@ -124,7 +124,7 @@
<% end %>
<% end %>
-
<%= position %> |
+<%= position %> |
0 |
<%= subfolder.modified.to_i if subfolder %> |
0 |
diff --git a/app/views/settings/_dmsf_columns.html.erb b/app/views/settings/_dmsf_columns.html.erb
index 76ffbfd8..5afb2657 100644
--- a/app/views/settings/_dmsf_columns.html.erb
+++ b/app/views/settings/_dmsf_columns.html.erb
@@ -32,8 +32,8 @@
<% cfs = CustomField.where(:type => 'DmsfFileRevisionCustomField').order(:position) %>
<% columns.concat(cfs.map{ |c| c.name }) %>
<% selected_columns = DmsfFolder::DEFAULT_COLUMNS if selected_columns.blank? %>
- <% columns.each do |column| %>
- <%= check_box_tag('settings[dmsf_columns][]', column, selected_columns.include?(column)) %>
+ <% columns.each_with_index do |column, i| %>
+ <%= check_box_tag('settings[dmsf_columns][]', column, selected_columns.include?(column), id: "dmsf_column_#{i}") %>
<%= h column.capitalize %>
<% end %>
diff --git a/assets/javascripts/redmine_dmsf.js b/assets/javascripts/redmine_dmsf.js
index 2c37e25b..e110e793 100644
--- a/assets/javascripts/redmine_dmsf.js
+++ b/assets/javascripts/redmine_dmsf.js
@@ -136,7 +136,7 @@ function dmsfExpandRows(EL, parentRow, url) {
idnt = result[1];
}
- var pos = $(parentRow).find('#dmsf_position').text();
+ var pos = $(parentRow).find('.dmsf_position').text();
$.ajax({
url: url,