diff --git a/inclure/gamutable.html b/inclure/gamutable.html index 8fffb27..477084a 100644 --- a/inclure/gamutable.html +++ b/inclure/gamutable.html @@ -50,6 +50,7 @@ :_id="[(#ENV{_id}|intval)]" filtreselect="[(#ENV{filtrer,#ENV{filtrerselect}})]" trier="[(#ENV{trier})]" + :id_auteur="[(#SESSION{id_auteur}|intval)]" > diff --git a/src/components/gamuTable.vue b/src/components/gamuTable.vue index 1d6d493..c6f0ffb 100644 --- a/src/components/gamuTable.vue +++ b/src/components/gamuTable.vue @@ -433,6 +433,9 @@ const props = defineProps({ _id: { type: Number, }, + id_auteur: { + type: Number, + }, filtreselect: { type: String, }, @@ -922,7 +925,9 @@ function selectValCol() { // } function calculer_nameLocalStorage() { if (props.apiuri) { - return props.apiuri.match(/.*page=(.*)/)[1]; + return ( + props.apiuri.match(/.*page=(.*)/)[1] + "&gamuId=" + props.id_auteur + ); } return ""; }