entities/adapters.py
changeset 10262 5c2a4a0a8dbd
parent 9918 228c3571e222
child 10301 729f36a1bcfa
equal deleted inserted replaced
10261:b2f7f03f10b3 10262:5c2a4a0a8dbd
    76         identifiers of previously sent email(s)
    76         identifiers of previously sent email(s)
    77         """
    77         """
    78         itree = self.entity.cw_adapt_to('ITree')
    78         itree = self.entity.cw_adapt_to('ITree')
    79         if itree is not None:
    79         if itree is not None:
    80             return itree.path()[:-1]
    80             return itree.path()[:-1]
       
    81         if view.msgid_timestamp:
       
    82             return (self.entity.eid,)
    81         return ()
    83         return ()
    82 
    84 
    83 
    85 
    84 class IFTIndexableAdapter(view.EntityAdapter):
    86 class IFTIndexableAdapter(view.EntityAdapter):
    85     """standard adapter to handle fulltext indexing
    87     """standard adapter to handle fulltext indexing