Fix timestamp-based sorting of tags-based entries in agenda
commitba544e4caa980c1ef59094b56fcca793082a882d
authorYuri D. Lensky <ydl@ydl.cm>
Sat, 7 Feb 2015 18:37:46 +0000 (7 13:37 -0500)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 9 Feb 2015 00:08:42 +0000 (9 01:08 +0100)
tree81c12b8c0437180f9fa583e94cc8e9a39d32f9db
parent1aad2fd6de4ab0448f370bc9f08efb954d4fd6a7
Fix timestamp-based sorting of tags-based entries in agenda

* lisp/org.el (org-scan-tags): Fix agenda org tags scans to properly
  add timestamp property, completely analogously to
  org-agenda-get-todos.
* lisp/org-agenda.el (org-agenda-entry-get-agenda-timestamp,
  org-agenda-get-todos): Factored timestamp retrieval code out to
  separate function org-agenda-entry-get-agenda-timestamp from
  org-agenda-get-todos.

Before this fix, timestamps were ignored when sorting agenda views of
the 'tags' and 'tags-todo' types.

TINYCHANGE
lisp/org-agenda.el
lisp/org.el