The "disambiguation" field of topic titles was not sent to the client. As a result, when editing a topic with disambiguations in its title, the inconsistency prevented the server from properly updating the topic object. This PR fixes the issue by making the client extract the disambiguation from the title string and format the title object similarly to how it is represented in the database. The server code was also modified to accommodate the new format.
Code Changes
update_topic_titles in server
prepData in TopicEditor.jsx
Description
The "disambiguation" field of topic titles was not sent to the client. As a result, when editing a topic with disambiguations in its title, the inconsistency prevented the server from properly updating the topic object. This PR fixes the issue by making the client extract the disambiguation from the title string and format the title object similarly to how it is represented in the database. The server code was also modified to accommodate the new format.
Code Changes
update_topic_titles in server prepData in TopicEditor.jsx