samvera / bulkrax

Bulk Import and Export For Samvera
Apache License 2.0
12 stars 21 forks source link

Sorting importers by "Last Run" brings up a DataTables alert, does not change order. #956

Open lsat12357 opened 4 months ago

lsat12357 commented 4 months ago

On the importers index page, clicking on "Last Run" brings up a DataTables alert box with the following message: DataTables warning: table id=importers-table - Ajax error. For more information about this error, please see http://datatables.net/tn/7

In the console, there is an ActiveRecord error: ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR: column "last_imported_at" does not exist ... SELECT "bulkrax_importers".* FROM "bulkrax_importers" ORDER BY last_imported_at asc

kirkkwang commented 1 week ago

@lsat12357 We recently made a fix with this PR just FYI. It's working on our end but if you have the means would you be able to test it out? You would need to update and run migrations.

https://github.com/samvera/bulkrax/pull/977