mirror of https://github.com/perkeep/perkeep.git
corpus: sort tweets by their startDate too
Change-Id: Ice2a7206a372b8777d5b0d0ffd701823b56f4828
This commit is contained in:
parent
f3a519d3e5
commit
27a28775d5
|
@ -818,6 +818,8 @@ func (c *Corpus) typeSpecificNodeTimeLocked(nodeType string, pn blob.Ref) (t tim
|
|||
switch nodeType {
|
||||
case "foursquare.com:checkin":
|
||||
attr = "startDate"
|
||||
case "twitter.com:tweet":
|
||||
attr = "startDate"
|
||||
// TODO(mpl): other nodeTypes from importers
|
||||
default:
|
||||
return t, errUnsupportedNodeType
|
||||
|
|
Loading…
Reference in New Issue