directus-extension-find-duplicates
Version:
Find duplicates in Directus collections based on specified fields.
50 lines (28 loc) • 1.4 kB
Markdown
# 🔎 Find Duplicates – Directus Custom Interface
A custom **Directus interface** to easily detect duplicate entries within a collection, based on one or more selected fields.
## ⚙️ Features
- Select any collection.
- Choose one or multiple fields to check for duplicates.
- Fetch and display groups of items sharing identical values.
- Direct links to open duplicated items.
- Internationalization : Available in English and French.
## 📦 Installation via Marketplace (✅ Recommended )
Search for "Find Duplicates" or "Fazcode" in the Marketplace of your app settings, navigate to the extension page, and click "Install Extension"
Don't forget to go to **Settings** > **Project Settings** > **Modules bars** > activate the "Find Duplicates" module to display it in the side menu.
## 📸 Interface Preview

## 🧠 Notes
- Values are normalized using `.toString().trim().toLowerCase()` before comparison.
- Only non-system collections are listed.
- Uses the Directus API with `limit: -1` to fetch all items.
- Duplicate groups are displayed with field values and quick-access links to each item.
## 🤝 Contributions
Pull requests are welcome!
## 📜 License
MIT