LiteratureMapper icon indicating copy to clipboard operation
LiteratureMapper copied to clipboard

saveZotero inefficient

Open wildintellect opened this issue 6 years ago • 0 comments

Currently when saving we request the online version of record, update the Extra and the push back. We already have a copy of the record when we loaded the plugin, we can take that json, modify the Extra and push back. Should save 1 request per item, which reduces api calls by 50%.

  1. pass data_json to saveZotero
  2. get json by key
  3. sub Extra
  4. Serialize json
  5. push new value

wildintellect avatar Nov 16 '18 23:11 wildintellect