简体   繁体   中英

drupal 6 views broken?

Is my drupal 6 views broken?

I have this SQL generated from my view

SELECT quiz_node_properties.vid AS vid, quiz_node_properties.nid AS
quiz_node_properties_nid FROM quiz_node_properties quiz_node_properties

I expect this output:

Quiz Node NID: 6

I get this output:

Quiz Node NID: 6
Quiz Node NID: 6
Quiz Node NID: 6
Quiz Node NID: 6

Why does it quadruple my output? There is only one quiz in my system...

Have you tried to check the "distinct" option? admin/build/views/ => edit view => Advanced settings => Distinct => yes

问题是我没有选择查看节点,而是查看测验。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM