sort_key für Kategorie wird jetzt nur innerhalb einer Kategorie inkrementiert und nicht über alle Kategorien.

git-svn-id: https://svn.libreccm.org/ccm/trunk@1684 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2012-06-05 09:50:09 +00:00
parent f2a0bf9ba3
commit 7636aab75a
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ association {
ELSE
max(sort_key)
END + 1
from cat_object_category_map)
from cat_object_category_map
where category_id = :categories.id)
ELSE
(:sortKey)
END