Skip to content
This repository was archived by the owner on Feb 4, 2023. It is now read-only.

Fix custom DQL & render HTML #893

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

roublarstar
Copy link

  • fix the column name duplication problem in the table when the individual filtering is activated.
  • Offers the ability to select a field that is not part of the main entity in customDQL value (without subquery)

Pierre Terrier added 4 commits May 23, 2019 12:05
when we just want a field not in main entity but in main request, we need to test if its a real subrequest or just a field selection.
Header duplicated on individual filtering enable
(cherry picked from commit ec8a78c)
@@ -6,34 +6,34 @@
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
#}
{%- set datetime_id_selector -%}
sg-datatables-{{ datatable_name }}-datetime-{{ row_id }}
{%- set datetime_id_selector -%}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unnecessary whitespace in front of this line

{% set vars = {} %}
{% endif %}
.on('responsive-resize.dt', {% include sg_datatables_view.events.responsiveResize['template'] with vars %})
{% endif %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no newline at the end of file

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants