Linking authors to publications and editors to publications.
Fixes
Partially addresses #122 (closed)
Description
- Set of features for linking authors to publications and editors to publications.
- Removal of unnecessary files (mainly public files for the relation
AuthorsPublications
since this is an admin-only feature. Also, the removal of files related toPublicationsAuthors
as it is wrongly added - actual table isauthors_publications
and accordinglyAuthorsPublications
files have been added).
Type of PR
Type of PR
This PR is a feature.
Technicalities
There are 3 ways for linking authors/editors to publications:
- Through the selected publication. (Authors/Editors can be linked to a particular publication through edit feature of that publication)
- Through the selected author/editor. (Publications can be linked to a particular author/editor through edit feature of that author/editor) 3.(Author) Through the view page for all links. (Any publication can be linked to any author through the edit feature) 4.(Editor) Through the view page for all links. (Any publication can be linked to any editor through the edit feature)
Authors-Publications linking has a similar structure.
Tests
Similarly, for Authors-Publications link:
/admin/authors-publications/add/1/<publication_id>
/admin/authors-publications/add/2/<author_id>
/admin/authors_publications
/admin/editors_publications
Note - The features are made based on the modified database structure cdli_db_final_schema
. For testing, load the authors_publications
and editors_publications
tables from the new database.
The features are ready for testing.
Edited by Ajit Jadhav