X-Git-Url: http://git.kpe.io/?p=umlisp.git;a=blobdiff_plain;f=sql-classes.lisp;h=64cc4b3499b46834a622a4c4b1588cf621651b18;hp=8031ace4553584dfdf6f2e3411881cdae0f41bd8;hb=b0307c538e2018939a9b3ab00daa2099720ab1c3;hpb=20b21169e71e1a70b95289fb0e6a6a7a8a55153e diff --git a/sql-classes.lisp b/sql-classes.lisp index 8031ace..64cc4b3 100644 --- a/sql-classes.lisp +++ b/sql-classes.lisp @@ -911,8 +911,8 @@ is OBJNAME from TABLE where WHERE-NAME field = WHERE-VALUE with FIELDS" only-exact-if-match limit &key extra-lookup-args) (let ((uobjs '())) (dolist (word (delimited-string-to-list str #\space)) - (setq uobjs (append uobjs - (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) + (setq uobjs (nconc uobjs + (kmrcl:flatten (apply obj-lookup-fun word :srl srl extra-lookup-args))))) (let ((sorted (funcall sort-fun str (delete-duplicates uobjs :test #'= :key key))))