From fecc414073c39f26bc4f85d587b8a1ac931fbdf8 Mon Sep 17 00:00:00 2001 From: Upson Date: Tue, 16 Jul 2024 07:15:19 -0300 Subject: [PATCH] fix for BTL error issue #181 --- core/form_btl_load.py | 2 +- start_dart.bat | 2 +- update.bat | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/form_btl_load.py b/core/form_btl_load.py index f7f9295..028cb7f 100644 --- a/core/form_btl_load.py +++ b/core/form_btl_load.py @@ -222,7 +222,7 @@ def get_bottle_load_card(request, database, mission_id, **kwargs): card.append(card_body := bottle_load_soup.new_tag('div', attrs={'class': 'card-body'})) card_body.append(ul_file := bottle_load_soup.new_tag('ul', attrs={'class': 'list-group'})) - for error in errors: + for error in errors.filter(file_name=file): li_error_id = f'li_id_btl_error_{error.pk}' ul_file.append(li_error := bottle_load_soup.new_tag('li', attrs={'class': 'list-group-item', 'id': li_error_id})) diff --git a/start_dart.bat b/start_dart.bat index 87f4712..0e5c4d4 100644 --- a/start_dart.bat +++ b/start_dart.bat @@ -4,7 +4,7 @@ if not exist ".\logs\" ( mkdir logs ) -set dart_version=3.3.1.1 +set dart_version=3.3.1.2 REM if this is not a git repo, and the application was installed from zip file we just want to run update REM if this is a cloned version of the git repo we want to pull from master, then run the update diff --git a/update.bat b/update.bat index 84ce9d2..96d4c1e 100644 --- a/update.bat +++ b/update.bat @@ -7,7 +7,7 @@ if not exist ".\logs\" ( REM If this was run from a clone repo we can force an update of the python libraries, collectstatic or a REM migration on the database by changing the update version -set update_version=3.3.1.1 +set update_version=3.3.1.2 set first_run=0 set server_path=.\dart_env\Scripts\activate.bat