Skip to content

Commit

Permalink
Merge pull request #114 from marblestation/add_authors_to_list
Browse files Browse the repository at this point in the history
Bugfix: Added authors field to not lazy load
  • Loading branch information
marblestation committed Apr 28, 2020
2 parents e9c1d6a + 9cc32f3 commit f6a278c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adsdata/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
nonbib_to_master_select_fields = ('bibcode', 'boost', 'citation_count',
'grants', 'ned_objects', 'nonarticle', 'norm_cites', 'ocrabstract',
'private', 'pub_openaccess', 'read_count', 'readers', 'reference',
'refereed', 'simbad_objects')
'refereed', 'simbad_objects', 'authors')

# select fields that are not sent to master, they are used to compute solr property field
nonbib_to_master_property_fields = ('nonarticle', 'ocrabstract', 'private', 'pub_openaccess',
'refereed', '_sa_instance_state')
'refereed', '_sa_instance_state', 'authors')

@app.task(queue='transform-results')
def task_transform_results(schema, source="models.NonBibDeltaTable", offset=0, limit=100):
Expand Down

0 comments on commit f6a278c

Please sign in to comment.