Browse Source

fix: reset project issue tags order

tags/v3.1.5
yystopf 4 years ago
parent
commit
ea98528100
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/controllers/issue_tags_controller.rb

+ 1
- 1
app/controllers/issue_tags_controller.rb View File

@@ -7,7 +7,7 @@ class IssueTagsController < ApplicationController


def index
issue_tags = @project.issue_tags.order("#{order_name} #{order_type}")
issue_tags = @project.issue_tags.reorder("#{order_name} #{order_type}")
@user_admin_or_member = current_user.present? && (current_user.admin || @project.member?(current_user))
@page = params[:page] || 1
@limit = params[:limit] || 15


Loading…
Cancel
Save