X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d898b4cb9c5e4a0e9366fa987d0e51af1918ae58..30186c3f928d280e4af97a4989d7a82dfe68d592:/apps/workbench/app/views/repositories/_show_help.html.erb diff --git a/apps/workbench/app/views/repositories/_show_help.html.erb b/apps/workbench/app/views/repositories/_show_help.html.erb index 0983d87385..afc7e5484f 100644 --- a/apps/workbench/app/views/repositories/_show_help.html.erb +++ b/apps/workbench/app/views/repositories/_show_help.html.erb @@ -1,7 +1,7 @@ <% filters = @filters + [["owner_uuid", "=", current_user.uuid]] - example = Repository.all.order("name ASC").limit(1).filter(filters).results.first - example = Repository.all.order("name ASC").limit(1).results.first if !example + example = Repository.all.order("name ASC").filter(filters).limit(1).results.first + example = Repository.all.order("name ASC").results.limit(1).first if !example %> <% if example %>