Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Fix importers sorting for last run and next run #977

Merged
merged 5 commits into from
Sep 18, 2024

Commits on Sep 16, 2024

  1. 🐛 Fix importers sorting for last run and next run

    This commit will fix the sorting error that happens when the user is on
    the importers index and attempts to sort by the last run or next run. We
    add some migrations to add fields that the datatables can use so it can
    sort properly. Previously, this was not working because the
    last_imported_at and next_import_at fields were actually methods on the
    importer_run object and not the importer object.  We are adding a few
    callbacks to the importer and importer_run models to ensure that the
    fields are properly set when they are called from either the web or the
    worker.
    
    Ref:
    - #956
    kirkkwang committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    7d985dd View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. 🤖 Update upload-artifact and download-artifact

    CI was getting errors because the versions we were previously using were
    deprecated.  This commit updates the actions to the latest versions.
    kirkkwang committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    aca33e5 View commit details
    Browse the repository at this point in the history
  2. 🐛 Remove Downloadable Files sorting

    The downloadable files sorting was broken plus, it's not clear now a
    downloadable file should be sorted.
    kirkkwang committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    d4d4749 View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. ⚙️ Add guard for new migrations

    This commit will add a guard to the new migrations to ensure that they
    do not run if the columns already exist in the database.
    kirkkwang committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    7011d72 View commit details
    Browse the repository at this point in the history
  2. 🤖 Add rake task to re save importers

    This rake task will allow users to re save all their importers.  It
    accounts for tenants if it is a Hyku application.
    
    ```sh
    bundle exec rake bulkrax:resave_importers
    ```
    kirkkwang committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    8db0a93 View commit details
    Browse the repository at this point in the history