You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
have a rails application with rails admin installed and mounted: mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
create a model, for example, rails generate model Game name:string; rails db:migrate
add Active Storage field to it:
class Game < ApplicationRecord
has_one_attached :icon
end
run the web server
open Rails Admin index page for this model and try to sort by ActiveStorage field (or just go to /admin/game?model_name=game&sort=icon on the web server)
Expected behavior
List of model entries, with entries that have an icon sorted to be on the top.
Reproduction steps
mount RailsAdmin::Engine => '/admin', as: 'rails_admin'
rails generate model Game name:string; rails db:migrate
/admin/game?model_name=game&sort=icon
on the web server)Expected behavior
List of model entries, with entries that have an icon sorted to be on the top.
Additional context
rails
version: 7.0.4.1rails_admin
version: 3.1.2rails_admin
npm package version: N/A (sprockets used)The text was updated successfully, but these errors were encountered: