Tags not working well with . and : (resolved), but ' is still a problem #951

Open
opened 2026-10-05 00:25:15 +02:00 by adam · 3 comments
Owner

Problem 1: I have a tag like "Lens: Canon EF 24-70 f2.8L II USM". This is split into two tags in the database: Lens: Canon EF 24-70 f2 and 8L II USM.

Problem 2: I have tags like "Aperture: Low". This only displays "Low" in the photo page. Whereas the database contains "Aperture: Low".

I am using v2.10.0.

Thanks,
Sridhar

Problem 1: I have a tag like "Lens: Canon EF 24-70 f2.8L II USM". This is split into two tags in the database: Lens: Canon EF 24-70 f2 and 8L II USM. Problem 2: I have tags like "Aperture: Low". This only displays "Low" in the photo page. Whereas the database contains "Aperture: Low". I am using v2.10.0. Thanks, Sridhar <!-- github-sync-id:505718850 -->
Author
Owner

Hi @sridharb1

Do you use plugin Tag Groups? (it could explain the "Aperture: Low" thing).

If you don't want the "." to be used as a keyword separator, in your local configuration (edited with plugin LocalFiles Editor)

$conf['metadata_keyword_separator_regex'] = '/[,;]/';
Hi @sridharb1 Do you use plugin Tag Groups? (it could explain the "Aperture: Low" thing). If you don't want the "." to be used as a keyword separator, in your local configuration (edited with plugin LocalFiles Editor) ``` $conf['metadata_keyword_separator_regex'] = '/[,;]/'; ``` <!-- github-comment-id:541079649 -->
Author
Owner

Hi @plegall ,

Thank you for the prompt response. Indeed, I was using the Tag Groups plugin.

I have deactivated it and now, it looks good. I have also changed the regex as you suggested.

Regards,
Sridhar

Hi @plegall , Thank you for the prompt response. Indeed, I was using the Tag Groups plugin. I have deactivated it and now, it looks good. I have also changed the regex as you suggested. Regards, Sridhar <!-- github-comment-id:541103162 -->
Author
Owner

I sometimes use ' in my tags. This is not being read properly and is used as a separator. I am using the separator regex as suggested above. Does it need to be handled properly for the SQL?

I sometimes use ' in my tags. This is not being read properly and is used as a separator. I am using the separator regex as suggested above. Does it need to be handled properly for the SQL? <!-- github-comment-id:569567667 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#951