diff --git a/kfet/templates/kfet/account_read.html b/kfet/templates/kfet/account_read.html
index d1af035a..07a32661 100644
--- a/kfet/templates/kfet/account_read.html
+++ b/kfet/templates/kfet/account_read.html
@@ -95,7 +95,7 @@ $(document).ready(function() {
khistory = new KHistory({
display_trigramme: false,
fetch_options: {
- 'accounts': [{{ account.pk }}],
+ account: {{ account.pk }},
}
});
diff --git a/kfet/templates/kfet/kpsul.html b/kfet/templates/kfet/kpsul.html
index 7b292087..3d6ba2d1 100644
--- a/kfet/templates/kfet/kpsul.html
+++ b/kfet/templates/kfet/kpsul.html
@@ -1142,8 +1142,8 @@ $(document).ready(function() {
khistory = new KHistory({
fetch_options: {
- from: moment().subtract(1, 'days').format('YYYY-MM-DD HH:mm:ss'),
- opesonly: true,
+ start: moment().subtract(1, 'days').format('YYYY-MM-DD HH:mm:ss'),
+ opes_only: true,
},
});
diff --git a/kfet/templates/kfet/transfers.html b/kfet/templates/kfet/transfers.html
index 83f20c70..f8bef33d 100644
--- a/kfet/templates/kfet/transfers.html
+++ b/kfet/templates/kfet/transfers.html
@@ -36,7 +36,7 @@ $(document).ready(function() {
var khistory = new KHistory({
fetch_options:{
- transfersonly: true,
+ transfers_only: true,
}
});