Шаблон:DSpace1: различия между версиями
Материал из GeologyScience Wiki
PatukMI (обсуждение | вклад) |
PatukMI (обсуждение | вклад) |
||
(не показаны 3 промежуточные версии этого же участника) | |||
Строка 1: | Строка 1: | ||
<!-- | <!-- Request to DSpace {{{1}}} --> | ||
<div class="mw-collapsible mw-collapsed" data-expandtext="" data-collapsetext=""> | <div class="mw-collapsible mw-collapsed" data-expandtext="-" data-collapsetext="_"> | ||
{{#get_db_data: | {{#get_db_data: | ||
db=DSpace | db=DSpace | ||
|from=metadatavalue = a,metadatavalue = b | |from=metadatavalue = a,metadatavalue = b | ||
|join on=a.dspace_object_id=b.dspace_object_id | |join on=a.dspace_object_id=b.dspace_object_id | ||
|where=a.text_value like '%{{{1}}}%' AND a.metadata_field_id = 70 and b.metadata_field_id = 31 | |where=upper(a.text_value) like '%{{{1}}}%' AND a.metadata_field_id = 70 and b.metadata_field_id = 31 | ||
|limit=100 | |limit=100 | ||
|data=Paper_name=a.text_value, Paper_link=a.dspace_object_id | |data=Paper_name=a.text_value, Paper_link=a.dspace_object_id | ||
}} | }} | ||
{{#display_external_table:template=DS name2|data=Name=Paper_name, Link=Paper_link}} | {{#display_external_table:template=DS name2|data=Name=Paper_name, Link=Paper_link}} | ||
{{#get_db_data: | {{#get_db_data: | ||
Строка 21: | Строка 17: | ||
|from=metadatavalue = a,metadatavalue = b | |from=metadatavalue = a,metadatavalue = b | ||
|join on=a.dspace_object_id=b.dspace_object_id | |join on=a.dspace_object_id=b.dspace_object_id | ||
|where=a.text_value like '%{{{1}}}%' AND a.metadata_field_id = 70 and b.metadata_field_id = 31 | |where=upper(a.text_value) like '%{{{1}}}%' AND a.metadata_field_id = 70 and b.metadata_field_id = 31 | ||
|limit=100 | |limit=100 | ||
|data=Paper_name=b.text_value, Paper_link=a.dspace_object_id | |data=Paper_name=b.text_value, Paper_link=a.dspace_object_id | ||
}} | }} | ||
{{#display_external_table:template=DS cite2|data=Cite=Paper_name, Link=Paper_link}} | {{#display_external_table:template=DS cite2|data=Cite=Paper_name, Link=Paper_link}} | ||
| {{#clear_external_data:}} | ||
{{#clear_external_data:}} | |||
</div> | </div> |
Текущая версия на 15:11, 12 сентября 2021
Не удаётся подключиться к базе данных (Cannot access the database: Postgres functions missing, have you compiled PHP with the --with-pgsql option? (Note: if you recently installed PHP, you may need to restart your webserver and database)).
Не удаётся подключиться к базе данных (Cannot access the database: Postgres functions missing, have you compiled PHP with the --with-pgsql option? (Note: if you recently installed PHP, you may need to restart your webserver and database)).