fix annotations n+1

This commit is contained in:
Paul Chavard 2021-01-27 18:45:32 +01:00
parent cbdb32d191
commit 0223eabcce

View file

@ -82,7 +82,7 @@ module Types
end
def annotations
Loaders::Association.for(object.class, :champs_private).load(object)
Loaders::Association.for(object.class, champs_private: [:type_de_champ]).load(object)
end
def pdf