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

Files are displayed as folders (icon) #26

Closed
N1c093 opened this issue Jun 25, 2020 · 3 comments
Closed

Files are displayed as folders (icon) #26

N1c093 opened this issue Jun 25, 2020 · 3 comments
Labels
Fixed. Waiting for feedback. Issue was fixed. Waiting for feedback.

Comments

@N1c093
Copy link

N1c093 commented Jun 25, 2020

First of all great work :)

I just installed papermerge and noticed, that my files are displayed as folders. The icon seems to be wrong.
I installed it today via Docker with this documentation: https://papermerge.readthedocs.io/en/latest/setup/docker.html

Here you can see an example:

image

Do you need more information?

@ciur
Copy link
Owner

ciur commented Jun 26, 2020

I know the problem. I will provide a fix in couple of days. I think your Browser localization language is German. A quick workaround is to open application in English localized browser. I know it sounds weird. Bug is that decision to style node as folder or file is made by something like this:

if node.human_name similar to  "document" :
    this is document
  else:
    this is folder

In case of German localization node.human_name is "Dokument" - which does not match word "Document".
Anyway, as I mentioned before I will fix code so that it won't depend on localization.

Thank you for your feedback!

@N1c093
Copy link
Author

N1c093 commented Jun 26, 2020

Thank you for your explanation :)

ciur added a commit that referenced this issue Jun 28, 2020
@ciur
Copy link
Owner

ciur commented Jun 28, 2020

Fix is now available in v1.2.3. You basically need to:

$ cd papermerge-proj/docker
$ docker-compose up -d

again. Docker compose will pull version v1.2.3 which includes above fix.

@ciur ciur added the Fixed. Waiting for feedback. Issue was fixed. Waiting for feedback. label Jun 28, 2020
@ciur ciur closed this as completed Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Fixed. Waiting for feedback. Issue was fixed. Waiting for feedback.
Projects
None yet
Development

No branches or pull requests

2 participants