diff --git a/global_history.html b/global_history.html
index 51b216b..717d8e8 100644
--- a/global_history.html
+++ b/global_history.html
@@ -12,6 +12,10 @@
{{* récupérer la config des entrées/sorties *}}
{{:include file="./_get_config.html" keep="config"}}
+
+
{{* lister tous les mouvements *}}
{{#list
type="movement"
@@ -19,8 +23,8 @@
CASE $$.direction WHEN 'input' THEN 'Entrée' WHEN 'output' THEN 'Sortie' END AS 'Mouvement';
$$.operation AS 'Opération';
(SELECT $$.name
- FROM @TABLE AS b
- WHERE b.key = @TABLE.$$.equipment) AS 'Matériel' ;
+ FROM @TABLE AS mat
+ WHERE mat.key = @TABLE.$$.equipment) AS 'Matériel' ;
$$.amount AS 'Quantité';
$$.comment AS 'Commentaire'"
order=1