ckan / ckan/ideas

Tags - case sensitivity

Open
#181 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
No language data
Stars
39
Forks
1
PR merge metrics
No merged PRs in 30d

Description

When a user enters tags for a dataset, they may begin typing and then select an existing tag for autocompletion, or they may simply keep typing. Data may also be deposited via the api and so autocompletion of tags is not utilised. This leads to situations where you have the same tag being treated as different dependant on the case used when entered.

E.g. I have datsets tagged with 'flora', and others tagged with 'Flora' - and for the purposes of filtering by tag they are treated as different (the tags list at the left of the screen in the 'Data' view (pic below) shows them as separate tags).

It would be nice if CKAN could either a) be case insensitive to tags, or b) be configured (ini setting) to standardise tags as say either lower or sentence case and convert tags on the fly to conform when they are entered.

This could tie in with #68 and ultimately a tag management UI for cleaning up tags (e.g. managing variants of the same tag such as plurals or misspellings.... and fixing in bulk rather than 1 by 1.

![image](https://cloud.githubusercontent.com/assets/4842751/18150646/a9e9b9e6-703c-11e6-97b5-ba5d6d61a33b.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

No files, tests, or entry points are named, and the repository is marked deprecated. First clarify whether tags should be case-insensitive or normalized through configuration, including API and filtering behavior. Done would require an agreed scope and a documented way to handle existing variants such as “flora” and “Flora”.

Written by the indexing model from the issue text.

Assessment

Domain
data, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.