Skip to content

Labels: Names consisting only of emojis break the searchΒ #4761

Description

@kvalev

1. What is not working as documented?

If you have a label that only has emojis (e.g. πŸ†), things works generally, but if you go to the Labels page and click on the label, you get all photos (even tho the photo count is correct on the page).

2. How can we reproduce it?

Steps to reproduce the behavior:

  1. Add an emoji-only label to a photo
  2. Go to the labels page
  3. Click on the label

Currently reproducible on the demo instance - https://demo.photoprism.app/library/labels

3. What behavior do you expect?

To show only the relevant media.

4. What could be the cause of your problem?

The page works with the label slug, which is empty when the label only has emojis.

5. Can you provide us with example files for testing, error logs, or screenshots?

N/A

6. Which software versions do you use?

Demo instance

7. On what kind of device is PhotoPrism installed?

N/A

8. Do you use a Reverse Proxy, Firewall, VPN, or CDN?

N/A

Metadata

Metadata

Labels

releasedAvailable in a stable releasetestedChanges have been tested successfully

Type

Projects

Status
Release 🌈

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions