HCoop
/
clinton
/
lisp-on-lines.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed ordering in get-foreign-instances
[clinton/lisp-on-lines.git]
/
src
/
slot-presentations.lisp
diff --git
a/src/slot-presentations.lisp
b/src/slot-presentations.lisp
index
02fb818
..
188db91
100644
(file)
--- a/
src/slot-presentations.lisp
+++ b/
src/slot-presentations.lisp
@@
-300,7
+300,8
@@
Calendar.setup({
(defmethod get-foreign-instances ((slot has-many-slot-presentation) instance)
(defmethod get-foreign-instances ((slot has-many-slot-presentation) instance)
- (slot-value instance (slot-name slot)))
+ (sort (slot-value instance (slot-name slot)) #'<
+ :key #'(lambda (x) (funcall (car (list-keys x)) x))))
(defmethod lol::presentation-slot-value ((slot has-many-slot-presentation) instance)
(get-foreign-instances slot instance))
(defmethod lol::presentation-slot-value ((slot has-many-slot-presentation) instance)
(get-foreign-instances slot instance))