Commit a8a6bac6 authored by Valery Sizov's avatar Valery Sizov

[Issues board sorting] Skip Geo nodes when we backfill relative_position

parent 98362ffb
...@@ -8,7 +8,7 @@ module Projects ...@@ -8,7 +8,7 @@ module Projects
def index def index
issues = ::Boards::Issues::ListService.new(project, current_user, filter_params).execute issues = ::Boards::Issues::ListService.new(project, current_user, filter_params).execute
issues = issues.page(params[:page]).per(params[:per] || 20) issues = issues.page(params[:page]).per(params[:per] || 20)
make_sure_position_is_set(issues) make_sure_position_is_set(issues) unless Gitlab::Geo.secondary?
render json: { render json: {
issues: serialize_as_json(issues), issues: serialize_as_json(issues),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment