Add support for JSON listing #1

Merged
Francesco Siddi merged 7 commits from json-view into develop 2023-11-01 12:08:09 +01:00
Showing only changes of commit 04d0ac80ce - Show all commits

View File

@ -53,7 +53,7 @@ function handleDownloadRequest() {
}
// Check if we are requesting a JSON formatted view.
if ($_GET['format'] == 'json') {
if (isset($_GET['format']) && $_GET['format'] == 'json') {
renderDownloadResponseAsJSON($lister);
}