Comments (3)
Hi @rferris !
Thanks so much for sharing this idea. While we would love to see a method for end users to easily update authority record slugs to AtoM's user interface, at this time, I'm not sure this is a solution we will implement. Changing the permalink of a resource in AtoM without the user explicitly choosing to do so could have unexpected consequences - for example, breaking every external link added to third-party websites.
Long term, our preferred solution would be to add support for a Rename module for authority records, similar to what we've added for descriptions, as described in our docs here:
If you are curious to see the code behind this, here are some of the main files used:
- https://github.com/artefactual/atom/blob/HEAD/apps/qubit/modules/informationobject/templates/renameSuccess.php
- https://github.com/artefactual/atom/blob/HEAD/apps/qubit/modules/informationobject/actions/renameAction.class.php
- https://github.com/artefactual/atom/blob/HEAD/js/rename.js
I'll leave this issue open for now, to make it easier for others to find your code snippet in case they would like to implement this locally.
Cheers,
Dan Gillean, MAS, MLIS
AtoM Program Manager
from atom.
Hi Dan,
Agreed - my quick fix here definitely isn't ideal. I'll see if I can get time to create a rename form and if I can I'll do a pull request on it. :)
Cheers,
Rohan
from atom.
Fix merged in: #1542
from atom.
Related Issues (20)
- Cant add bosnian language , and it is full translated HOT 1
- OAI resumption presents duplicate records HOT 2
- default_culture not honoured in 2.7.1
- Problem: Editing or duplicating an archival description while debug panel is enabled results in an error
- Problem: RAD template fields don't appear when switching languages HOT 2
- Problem: Indexing inherited creators introduces a lot of noise to search results HOT 3
- Problem: Access control for contact info doesn't check edit/admin access
- Problem: culture fallback not working as expected in search/browse results when default culture not English
- Regression: Escape special characters setting no longer working in 2.7.x HOT 1
- Problem: G4 analytics does not track pageviews from clicks in full-width treeview HOT 1
- Problem: Google Analytics not collecting data with arDominionB5Plugin enabled HOT 1
- Feature: Command line tool for renaming slugs HOT 2
- Problem: Images on static pages overflow on the bootstrap 5 theme HOT 4
- Problem: password reset task description is placeholder text
- Feature: A tab for viewing failed jobs
- Problem: search populate task doesn't inherit from the AtoM base class for tasks
- Problem: Tree view bug still persists in bootstrap 5 theme
- 500 Internal Server Error HOT 2
- Feature: Command line tool for purging taxonomy HOT 2
- Feature: Allow changing of an information object's publication status via the REST API
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom.