Skip to content

Commit

Permalink
temporarily deactivated setting of finder_last_folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jrief committed May 27, 2024
1 parent adca4d1 commit cc734ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finder/admin/inode.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ def get_settings(self, request, inode):
parent_id=inode.parent_id,
parent_url=parent_url,
)
if not next(filter(lambda f: f['id'] == inode.id and f.get('is_pinned'), favorite_folders), None):
request.session['finder_last_folder_id'] = str(inode.id)
# temporarily deactivated: if not next(filter(lambda f: f['id'] == inode.id and f.get('is_pinned'), favorite_folders), None):
request.session['finder_last_folder_id'] = str(inode.id)
else:
settings.update(
is_root=False,
Expand Down

0 comments on commit cc734ed

Please sign in to comment.