Opened 10 years ago
Closed 10 years ago
#56 closed enhancement (fixed)
add “institution” field in creators table to deal with institutional authors
| Reported by: | dcohen | Owned by: | dstillman |
|---|---|---|---|
| Priority: | trivial | Milestone: | 1.0 Beta 1 |
| Component: | data layer | Version: | 1.0 |
| Keywords: | Cc: |
Description
Change History (2)
comment:1 Changed 10 years ago by dstillman
- Component changed from interface to data layer
- Owner changed from dnorton to dstillman
comment:2 Changed 10 years ago by dstillman
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [460]) Closes #56, add "institution" field in creators table to deal with institutional authors
var obj = Scholar.Items.getNewItemByType(1);
obj.setField('title', 'Digital History for Dummies');
obj.setCreator(0, , 'Center for History and New Media', 1, true); true == institutional creator
var id = obj.save();
Note: 'firstName' field is ignored when 'isInstitution' is true