Шаблон:DSpace1: различия между версиями

Материал из GeologyScience Wiki
Перейти к:навигация, поиск
 
(не показана 1 промежуточная версия этого же участника)
Строка 1: Строка 1:
<!-- Test request to DSpace  {{{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="_">
Строка 6: Строка 6:
  |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
}}
}}
<!-- <noinclude> -->


{{#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}}
<!-- </noinclude> -->


{{#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
}}
}}
<!-- <noinclude> -->


{{#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}}


<!-- </noinclude> -->
‎{{#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)).