added possibility to filter datas

This commit is contained in:
Matthis FAUVET 2024-06-21 19:36:24 +02:00
parent edb214c459
commit b97ed0c1b8

View File

@ -93,7 +93,7 @@
} }
</style> </style>
<script> <script>
function execQuery(table, filter = "all", id = -1){ function execQuery(table, filter = undefined, id = undefined){
let baseHttpRequest = "https://dwarves.iut-fbleau.fr/~fauvet/api/" let baseHttpRequest = "https://dwarves.iut-fbleau.fr/~fauvet/api/"
let computeHttpRequest; let computeHttpRequest;
if(filter !== undefined){ if(filter !== undefined){