From 87d279861204eab40bf24d35acd6d0f6b71ba2f3 Mon Sep 17 00:00:00 2001 From: xinwen Date: Mon, 19 Oct 2020 16:31:55 +0800 Subject: [PATCH] =?UTF-8?q?fix(assets):=20=E8=B5=84=E4=BA=A7=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E4=B8=8D=E8=83=BD=E7=94=A8=E5=88=B0`assets=5Famount`?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/utils.py b/apps/assets/utils.py index 98b283630..7fc5a19ac 100644 --- a/apps/assets/utils.py +++ b/apps/assets/utils.py @@ -33,7 +33,7 @@ def is_asset_exists_in_node(asset_pk, node_key): def is_query_node_all_assets(request): request = request - query_all_arg = request.query_params.get('all') + query_all_arg = request.query_params.get('all', 'true') show_current_asset_arg = request.query_params.get('show_current_asset') if show_current_asset_arg is not None: return not is_true(show_current_asset_arg)