fetch with only_translated

Author Message

Marcus M.

Tuesday 16 October 2007 8:45:10 am

Hi,

I use the option "only_translated" on my fetch. It is set to true(), but unfortunately I still get all objects and not only the translated. There is one node which definitely has only one language, and if I change the site's language this node will be still displayed.
Maybe there is something wrong with my site.ini in the different siteaccesses but I have checked it several times and compared it to the demosite. Maybe someone has an idea?

Thanks in advance,
Marcus

Xavier Serna

Wednesday 17 October 2007 6:28:01 am

Hi,

in the admin interface, when viewing a node there is a checkbox called "Use main translation if there is no prioritized language", perhaps you have this checkbox checked...

hth!

--
Xavier Serna
eZ Publish Certified Developer
Departament de Software
Microblau S.L. - http://www.microblau.net
+34 937 466 205

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:28:39
Script start
Timing: Jan 31 2025 01:28:39
Module start 'layout'
Timing: Jan 31 2025 01:28:39
Module start 'content'
Timing: Jan 31 2025 01:28:39
Module end 'content'
Timing: Jan 31 2025 01:28:39
Script end

Main resources:

Total runtime0.0190 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 588.2500151.2266
Module start 'layout' 0.00430.0028 739.4766220.7031
Module start 'content' 0.00720.0104 960.1797997.8047
Module end 'content' 0.01750.0014 1,957.984429.9922
Script end 0.0189  1,987.9766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002412.5804140.0002
Check MTime0.00105.4605140.0001
Mysql Total
Database connection0.00063.282310.0006
Mysqli_queries0.002010.691130.0007
Looping result0.00000.051510.0000
Template Total0.00105.410.0010
Template load0.00084.088810.0008
Template processing0.00021.263710.0002
Override
Cache load0.00052.686910.0005
General
dbfile0.00021.155780.0000
String conversion0.00000.027640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs