X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/30186c3f928d280e4af97a4989d7a82dfe68d592..5536864737f7729775f9b2ee95516d6df5053451:/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 afc7e5484f..42ec96ff7e 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").filter(filters).limit(1).results.first - example = Repository.all.order("name ASC").results.limit(1).first if !example + example = Repository.all.order("name ASC").limit(1).results.first if !example %> <% if example %>