summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/blocks/DataTables.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-11-03 23:34:00 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-12-12 12:20:59 +0100
commit697966da54cbfc76836abfba3816e3f4848fb53c (patch)
tree49509019db1f9488e6b992f0286295ec8c4abe2d /ishtar_common/templates/blocks/DataTables.html
parent9bc1bc57fab26fd6d159341ddb74299ad8b2980e (diff)
downloadIshtar-697966da54cbfc76836abfba3816e3f4848fb53c.tar.bz2
Ishtar-697966da54cbfc76836abfba3816e3f4848fb53c.zip
Syndication - gallery UI
Diffstat (limited to 'ishtar_common/templates/blocks/DataTables.html')
-rw-r--r--ishtar_common/templates/blocks/DataTables.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/ishtar_common/templates/blocks/DataTables.html b/ishtar_common/templates/blocks/DataTables.html
index 91e55579e..3d1b817a8 100644
--- a/ishtar_common/templates/blocks/DataTables.html
+++ b/ishtar_common/templates/blocks/DataTables.html
@@ -83,6 +83,9 @@ var selItems_{{sname}} = new Array();
{% if gallery %}
gallery_submit_search = function(image_page){
+ {% if external_sources %}{% for source_id, source_label, source_url in external_sources %}
+ _gallery_submit_search(image_page, query_vars, "{{name}}", "{{source_url}}", "-{{source_id}}");
+ {% endfor %}{% endif %}
return _gallery_submit_search(image_page, query_vars, "{{name}}", "{{source}}");
};
{% endif %}