Find a file
Dan Stillman 4caa096a46 Addresses #346, mapping for new item types
Closes #453, Check if any fields will actually be discarded on item type change before giving warning
Refs #530, Add base field conversion to translation level

Added mechanism for linking item type fields via base fields, e.g. publisher => label in audioRecording

New methods:

Item.getFieldsNotInType(itemTypeID, allowBaseConversion)
ItemFields.getLocalizedString(itemTypeID, field)
ItemFields.isBaseField(fieldID)
ItemFields.getFieldIDFromTypeAndBase(itemType, baseField)
ItemFields.getBaseIDFromTypeAndField(itemType, typeField)
ItemFields.getTypeFieldsFromBase(baseField)

Currently only the publisher fields are mapped -- I need more feedback on #346 before I implement the others (specifically on whether or not all these sorts of fields should be done as distinct fields or whether some should just be localized strings (in which case they'll autocomplete but not show up separately as search conditions))

Also added 'university' as distinct publisher field for thesis

Values of equivalent fields are now preserved when switching between item types (e.g. the 'studio' value becomes the 'label' value when switching between videoRecording and audioRecording), and the pop-up is much smarter--it will only prompt you if fields will in fact be lost, and it will list the fields that would be deleted.

Not finished:

- Searching for base fields doesn't yet search the type-specific fields, as Elena requested
- import/export/bib should be updated to use the ItemFields base conversion methods where appropriate -- data coming from the 'publisher' field from translators, for example, should be put into the appropriate type-specific field.
2007-02-03 17:08:03 +00:00
chrome Addresses #346, mapping for new item types 2007-02-03 17:08:03 +00:00
components closes #440, In-page highlighting of snapshots 2007-01-03 02:21:26 +00:00
defaults/preferences Missing pref from previous commit (r1150) 2007-02-02 11:13:01 +00:00
chrome.manifest Merge r1047 through r1063 back to branch 2007-01-08 09:33:36 +00:00
install.rdf Update credits pane 2007-01-18 07:50:09 +00:00
license.txt Closes #63, Add ECL license info to source code 2006-10-04 17:16:56 +00:00
scrapers.sql EBSCOhost and ScienceDirect to repo 2007-01-27 16:06:57 +00:00
system.sql Addresses #346, mapping for new item types 2007-02-03 17:08:03 +00:00
update.rdf Version numbers to b3.r1 2006-11-26 08:46:36 +00:00
userdata.sql Addresses #346, mapping for new item types 2007-02-03 17:08:03 +00:00