|
|
|
@ -178,8 +178,8 @@ class ManagementsController < ApplicationController
|
|
|
|
|
@g = Gitlab.client
|
|
|
|
|
if params[:search]
|
|
|
|
|
if params[:search].to_i.to_s == params[:search].to_s
|
|
|
|
|
myshixun_id = Game.where(myshixun_id => params[:search].to_i).pluck(:myshixun_id)
|
|
|
|
|
game_myshixun_id = Game.where(id => params[:search].to_i).pluck(:myshixun_id)
|
|
|
|
|
myshixun_id = Game.where(:myshixun_id => params[:search].to_i).pluck(:myshixun_id)
|
|
|
|
|
game_myshixun_id = Game.where(:id => params[:search].to_i).pluck(:myshixun_id)
|
|
|
|
|
myshixun_id = myshixun_id + game_myshixun_id
|
|
|
|
|
else
|
|
|
|
|
myshixun_id = Game.where(:identifier => params[:search]).pluck(:myshixun_id)
|
|
|
|
|