diff --git a/backend/src/main/java/ovh/herisson/Clyde/DTO/ScientificPublications/ResearchDTO.java b/backend/src/main/java/ovh/herisson/Clyde/DTO/ScientificPublications/ResearchDTO.java index c565735..d56372b 100644 --- a/backend/src/main/java/ovh/herisson/Clyde/DTO/ScientificPublications/ResearchDTO.java +++ b/backend/src/main/java/ovh/herisson/Clyde/DTO/ScientificPublications/ResearchDTO.java @@ -24,13 +24,14 @@ public class ResearchDTO { private Date releaseDate; private PaperType paperType; private String pdfLocation; + private String bibTexLocation; private String language; private Access access; private String domain; private String summary; private long views; - private ResearchDTO(String title, ResearcherDTO researcherDTO, Date releaseDate, PaperType paperType, String pdfLocation, String language, Access access, String domain, String summary, long id,long views) { + private ResearchDTO(String title, ResearcherDTO researcherDTO, Date releaseDate, PaperType paperType, String pdfLocation, String language, Access access, String domain,String bibTexLocation, String summary, long id,long views) { this.title = title; this.researcher = researcherDTO; this.releaseDate = releaseDate; @@ -41,6 +42,7 @@ public class ResearchDTO { this.domain = domain; this.summary = summary; this.id = id; + this.bibTexLocation = bibTexLocation; this.views = views; } @@ -48,6 +50,6 @@ public class ResearchDTO { public static ResearchDTO construct(Research research){ return new ResearchDTO(research.getTitle(), ResearcherDTO.construct(research.getAuthor()), research.getReleaseDate(), research.getPaperType(),research.getPdfLocation(),research.getLanguage(),research.getAccess(), - research.getDomain(), research.getSummary(), research.getId(), research.getViews()); + research.getDomain(),research.getBibTexLocation(), research.getSummary(), research.getId(), research.getViews()); } } diff --git a/frontend/src/Apps/ScientificPublications/ResearchComponent.vue b/frontend/src/Apps/ScientificPublications/ResearchComponent.vue index a725ec3..ede5086 100644 --- a/frontend/src/Apps/ScientificPublications/ResearchComponent.vue +++ b/frontend/src/Apps/ScientificPublications/ResearchComponent.vue @@ -91,10 +91,9 @@ function downloadCoAuthors(){
  • Views : {{article.views}}
  • Access : {{article.access}}
  • - -
    +
    See Research - See bibTex
    + See bibTex
    diff --git a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue index 4c9baea..850aab7 100644 --- a/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue +++ b/frontend/src/Apps/ScientificPublications/ResearcherProfile.vue @@ -17,11 +17,10 @@ const statsBy = ref(""); const isFilterOpened = ref(false); const isResearchOpened = ref(false); const articleToDisplay = ref(Object) -const filters = ref([]); +const filters = ref(); let chart; const researcherId = window.location.href.split("=")[1] - const props = defineProps({ filters: ref([]), });