Opened 9 years ago

Closed 8 years ago

#971 closed enhancement (fixed)

Add support for secondary key

Reported by: stakats Owned by: simon
Priority: major Milestone: 1.5 Beta 1
Component: word integration Version: 1.5
Keywords: Cc: dstillman

Description

Plugins will need to support secondary key for 1.5 upgrade. Waiting for merge of sync code.

Change History (4)

comment:1 Changed 8 years ago by simon

  • Cc dstillman added

Dan, should I store only the key, or should I store both the ID and key, and first try retrieving the item by ID, then fall back to retrieving by key? And, in either case, how can I retrieve an item by key?

comment:2 Changed 8 years ago by dstillman

(In [2978]) Addresses #971, Add support for secondary key

Zotero.Items.getByKey(key) -- retrieve an Item object by its secondary lookup key

No caching yet -- if this becomes a bottleneck, I'll add some

comment:3 Changed 8 years ago by dstillman

Just storing the key should be sufficient. A refresh of a document with ids should replace them with keys.

We'll also eventually need to store server user ids, but that's a separate discussion.

comment:4 Changed 8 years ago by simon

  • Resolution set to fixed
  • Status changed from new to closed

(In [3098]) closes #971, Add support for secondary key

Note: See TracTickets for help on using tickets.