Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all folders (meta tag folder) are shown in item search (with possible explanation) #2609

Open
SBGit-2019 opened this issue Apr 24, 2024 · 4 comments
Labels
bug Something isn't working or in unexpected ways webui WebUI issues

Comments

@SBGit-2019
Copy link

In the document search filter bar (right side of search) only 8 or 9 folders are shown even if the folder category is expanded. I made 12 folders and only 8/9 are shown. it is not clear which ones are omitted, makeing new folders and removing them seems to randomly only show a subset. The folders are correctly displayed when you are in edit mode (then there is a combo pull down menu where all folders are listed). But in the the side bar where it is not a combo but a list of items they are missing.
If this is a bug and not a wrong operation of me I would say this is a critical bug.

@SBGit-2019 SBGit-2019 changed the title Not all folders are shown in document search Not all folders (meta tag folder) are shown in document search Apr 24, 2024
@SBGit-2019
Copy link
Author

Image3

@SBGit-2019
Copy link
Author

I removed and readded folders. The result is that now NO folders are shown in the filter menu anymore. This might indicate that somehow new? folders are not displayed?

@SBGit-2019 SBGit-2019 changed the title Not all folders (meta tag folder) are shown in document search No / Not all folders (meta tag folder) are shown in document search Apr 25, 2024
@SBGit-2019
Copy link
Author

SBGit-2019 commented Apr 25, 2024

I think I found what is happening. It is something half a bug I guess. But hard to find because it requires two things.

  1. It seems that unused folders are not displayed. With tags this can be selected and not selected but it seems with folders not.
  2. It needs a browser reload.
    So what happens:
  • I add a new folder and it is not displayed
  • I assign a document to the folder from teh pull down and the folder is still not displayed
  • A browser reload and the folder appears with 1 document in it

First I did first the cache clear and the the assignment and this was the wrong sequence.

So question:

  1. Can this behaviour of hiding empty folders be configured? Similar to tags or with a setting
  2. Can the frontend refresh the page without a reload?

@SBGit-2019 SBGit-2019 changed the title No / Not all folders (meta tag folder) are shown in document search Not all folders (meta tag folder) are shown in item search (with possible explanation) Apr 25, 2024
@eikek eikek added bug Something isn't working or in unexpected ways webui WebUI issues labels May 10, 2024
@eikek
Copy link
Owner

eikek commented May 10, 2024

Thank you for the report! There is an old bug #995 where newly created folders are not updated correctly. Empty folders are probably hidden on purpose (I have to check the code to be sure), because they wouldn't select any documents in the search.

So yes this is a bug of course. Not sure how much is covered in #995. Currently you cannot configure the same options as with tags.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working or in unexpected ways webui WebUI issues
Projects
None yet
Development

No branches or pull requests

2 participants