Opened 10 years ago
Closed 10 years ago
#502 closed enhancement (fixed)
Special handling for automatic tags
| Reported by: | dstillman | Owned by: | simon |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 Beta 4 |
| Component: | ingester | Version: | 1.0 |
| Keywords: | Cc: |
Description (last modified by dstillman)
- Add DB column to track whether tags were automatically added
- Add parameter to addTag() for automatic tags
- Discard automatic status on edit
- Display automatic tags in a different color
- Don't show automatic tags in tag selector
Change History (8)
comment:1 Changed 10 years ago by dstillman
- Description modified (diff)
comment:2 Changed 10 years ago by dstillman
comment:3 Changed 10 years ago by dstillman
- Component changed from data layer to ingester
- Owner changed from dstillman to simon
Reassigning to Simon for ingester/export changes
comment:4 Changed 10 years ago by dstillman
comment:5 Changed 10 years ago by dstillman
comment:6 Changed 10 years ago by dstillman
comment:7 Changed 10 years ago by simon
(In [1120]) closes #488, Proquest translator broken
references #502, Special handling for automatic tags (support is now enabled, but not tag type is not maintained during RDF export)
references #517, ScienceDirect translator fails (I fixed the issue I had translating this page, but I think the reported error may be different)
comment:8 Changed 10 years ago by stakats
- Priority changed from major to minor
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [1104]) Addresses #502, Special handling for automatic tags
Changed:
Item.addTag(tag) => addTag(tag, type)
Item.getTags() - now returns 'id', 'tag', 'type'
Item.toArray() - tags now include 'type' property (from Item.getTags())
Tags.getID(tag) => getID(tag, type)
Tags.getAll() => getAll([types]) - types is an optional array of tagTypes to fetch; now returns objects with 'tag' and 'type' properties
Tags.getAllWithinSearch(search) => Tags.getAllWithinSearch(search, [types]) - now returns object with 'tag'/'type'
Added:
Tags.get(tagID) - returns object with 'tag' and 'type' properties
Tags.getIDs(tag) - returns all tagIDs for this tag (of all types)
Tags.getType(tag) - returns array of tag types matching given tag
For type property, 0 == user, 1 == automatic