mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-06 20:05:55 +08:00
Merge pull request #6393 from okriuchykhin/ok_SCI_9494
Fix repository export job for snapshots [SCI-9494]
This commit is contained in:
commit
472e573011
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class RepositoryZipExportJob < ZipExportJob
|
|||
|
||||
# Override
|
||||
def fill_content(dir, params)
|
||||
repository = Repository.find(params[:repository_id])
|
||||
repository = RepositoryBase.find(params[:repository_id])
|
||||
# Fetch rows in the same order as in the currently viewed datatable
|
||||
if params[:my_module_id]
|
||||
rows = if repository.is_a?(RepositorySnapshot)
|
||||
|
|
Loading…
Add table
Reference in a new issue