Skip to content
Zotonic
  • Start
  • Guides
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters ยท mod_admin_merge
  • Reference
  • Frontend developer
  • Content authoring
  • Resource
  • Template filter
  • Compare

admin_merge_diff

Module

mod_admin_merge

Compare two resources and return a formatted list of their differences.

Both inputs can be resource ids or names. The result is intended for the resource merge interface, where editors select which values to retain.

For example:

{% for difference in id|admin_merge_diff:other_id %}
    {{ difference }}
{% endfor %}

Edit on GitHub

Related documentation

Filters

survey_is_history_back

Test whether a survey respondent may return to the previous page in a history.

Filters

is_user

Test if a resource is a user.

Filters

survey_is_save_intermediate

Check if the given survey is configured to save intermediate results. Always returns a boolean value.

Filters

default_if_none

Provide an alternative value in case a value is undefined.

Filters

default_if_undefined

Provide an alternative value in case a value is undefined.

Filters

survey_is_pagebreak_submit

Check if a list of questions contains a pagebreak block with an unconditional submit.

Filters

if

Selects an argument depending on a condition.

Filters

eq_day

Tests if the value is a date and equal to the argument. The value and the argument must be a tuple of the format {Y,M,D} or {{Y,M,D},{H,I

Filters

is_list

Test if a value is a list:

GitHub © 2026 Zotonic