Open khawkins98 opened 4 years ago
We have this config for the (EMBL) Team Publications block plugin (and heading/limit):
is that enough? I will update the README documentation as it doesn't include the search fields.
The plugin can be configured on deploy same as to how the Jobs and Members plugin are.
Yeah, that ticket I referenced on GitLab was already sorted (I've now closed it).
The ask is to create a custom list of publications in the Gutenberg editor; I want to:
DOI
orpubMedId
That is, don't give me all my publications, but show me publications C
Z
and then A
.
Maybe we can do that by:
Might also be a need to extend the contentHub here.
Snippet of EDR data:
{
"DOI": "10.1074/jbc.RA119.011774",
"cfIssue": "4",
"cfNameAbbrev": "J. Biol. Chem.",
"cfResPublDate": "2020-02-24T00:00:00.000Z",
"cfStartPage": "1091",
"cfTitle": "Phosphatidylinositol 3,4-bisphosphate synthesis and turnover are spatially segregated in the endocytic pathway.",
"cfVol": "295",
"euroPubMedId": "31831620",
"originalSource": "MED",
"pubMedId": "31831620",
"publYear": "2019",
"srcAuthors": "Wang H, Loerke D, Bruns C, Müller R, Koch PA, Puchkov D, Schultz C, Haucke V",
"srcJourName": "The Journal of biological chemistry"
},
Currently blocked by #248
We should now be able to proceed; #248 is resolved.
Hey @khawkins98 the existing block is using a limit
query var however the Content Hub no longer seems to respect this. e.g.
should return only 3 items?
Also for the DOI
and pubMedId
are they added as &pubMedId=31831620
or is there more too it?
Yeah, this seems like a regression. Should work:
https://docs.google.com/document/d/1ywOw18sx3ylP-bO63LEqGGowknuvxYTs5EBwAci1ISU/edit?ts=5bdc201d
@meladawy could you have a look?
I've also notice the Groups theme template-publications.php
which sets filter_keyword
and filter_year
is being ignored by the plugin. Which should allow the front-end user to filter publications on that page.
Note to self: refer to Jobs plugin template for example of using template search/filters.
Issue now being worked on at https://gitlab.ebi.ac.uk/emblorg/backlog/issues/346
Updated notes on this after our call on vf-wp today:
These were working but no longer seem to, it may be a "simple" template update needed. Link to template
limit
and year
filtering
Echoes: https://gitlab.ebi.ac.uk/emblorg/backlog/issues/259