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

Материал из GeologyScience Wiki
Перейти к:навигация, поиск
 
(не показано 30 промежуточных версий этого же участника)
Строка 1: Строка 1:
<!-- Test request to DSpace  {{{1}}} -->
<!-- Request to DSpace  {{{1}}}   -->


<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
}}
}}
<!-- <noinclude> -->
 
<div hidden>
{{#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}}
</div>
 
<!-- </noinclude> -->
{{#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=b.text_value, Paper_link=a.dspace_object_id
  |data=Paper_name=b.text_value, Paper_link=a.dspace_object_id
}}
}}
<!-- <noinclude> -->
 
<div hidden>
{{#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}}
</div>
‎<!-- </noinclude> -->
{{#clear_external_data:}}


<div style="width: 85%; height: 10em; overflow: auto; border: 2px solid gray;">
{{#clear_external_data:}}
{{#cargo_query:tables=DS_name2=a, DS_cite2=b
|join on=a.Link=b.Link
|fields=CONCAT("[",b.Cite," ",a.Name,"]")=Смотрите также
|format=table
}}
</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)).