Change sort episodes when set to wanted on display show page

This commit is contained in:
Prinz23 2023-08-15 20:03:32 +02:00 committed by JackDandy
parent 6d8a209f2a
commit 96fc7d1c9d
2 changed files with 6 additions and 1 deletions

View file

@ -3,6 +3,8 @@
* Update Beautiful Soup 4.11.1 (r642) to 4.12.2 * Update Beautiful Soup 4.11.1 (r642) to 4.12.2
* Update soupsieve 2.3.2.post1 (792d566) to 2.4.1 (2e66beb) * Update soupsieve 2.3.2.post1 (792d566) to 2.4.1 (2e66beb)
* Fix regex that was not using py312 notation * Fix regex that was not using py312 notation
* Change sort backlog and manual segment search results episode number
* Change sort episodes when set to wanted on display show page
### 3.29.4 (2023-06-07 13:45:00 UTC) ### 3.29.4 (2023-06-07 13:45:00 UTC)

View file

@ -3202,7 +3202,10 @@ class Home(MainHandler):
if None is not eps: if None is not eps:
sql_l = [] sql_l = []
for cur_ep in eps.split('|'): # sort episode numbers
eps_list = eps.split('|')
eps_list.sort()
for cur_ep in eps_list:
logger.debug(f'Attempting to set status on episode {cur_ep} to {status}') logger.debug(f'Attempting to set status on episode {cur_ep} to {status}')