Commit 6b45827c2c3044ef2ec5064e35e1a0b1b313088b

Don't use view when fetching latest velp version
timApp/timdb/velps.py
(2 / 1)
  
110110 SELECT
111111 MAX(id),content
112112 FROM
113 VelpInformation
113 FROM VelpVersion
114 JOIN VelpContent ON VelpVersion.id = VelpContent.version_id
114115 WHERE velp_id = ? AND language_id = ?
115116 """, [velp_id, language_id]
116117 )