Is AllowEmptySearch an ezfind setting

Author Message

laurent le cadet

Wednesday 02 January 2008 9:39:32 am

Hi,

I tryed to add AllowEmptySearch=disabled to the SearchSettings, but ezfind still print out empty search.

Could you confirm this setting is not considered by ezfind?

Best regards.

Laurent

Heath

Wednesday 02 January 2008 9:45:56 am

It depends on the version but it seems effort has been taken to address your concern. You may wish to upgrade eZ Find (and or eZ Publish, as needed)

<i>http://issues.ez.no/12105</i>

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

laurent le cadet

Wednesday 02 January 2008 10:07:08 am

Hi Heath,

I'm using ezFind 1.0.2 and ezPublish 3.9.4.
Do you really think I need to upgrade to 3.10 ?

( or should I use a simple javascript to prevent empty search :)

Laurent

Heath

Wednesday 02 January 2008 10:20:19 am

Upgrade to eZ Find 1.0.3

I would not use a javascript hack as it would only affect js users (which we are not one with no-script+firefox). If you expect js without testing your users will encounter problems and you may not hear about it.

You don't want to upgrade eZ Publish 3.10.x unless you *must*

Each eZ Publish Branch is broken in many different ways ( 3.8, 3.9, 3.10, 3.11, 4.0 ) .... <i>Choose Wisely</i> when upgrading and be careful.

Cheers,
Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

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 18 2025 15:03:08
Script start
Timing: Jan 18 2025 15:03:08
Module start 'layout'
Timing: Jan 18 2025 15:03:08
Module start 'content'
Timing: Jan 18 2025 15:03:09
Module end 'content'
Timing: Jan 18 2025 15:03:09
Script end

Main resources:

Total runtime0.5047 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.0625152.6406
Module start 'layout' 0.00640.0038 740.703139.4766
Module start 'content' 0.01020.4930 780.1797557.5703
Module end 'content' 0.50320.0015 1,337.750012.1328
Script end 0.5047  1,349.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.6422160.0002
Check MTime0.00120.2406160.0001
Mysql Total
Database connection0.00120.239710.0012
Mysqli_queries0.446888.5258620.0072
Looping result0.00060.1132600.0000
Template Total0.469393.020.2346
Template load0.00170.346120.0009
Template processing0.467592.630120.2338
Template load and register function0.00010.019610.0001
states
state_id_array0.00080.166010.0008
state_identifier_array0.00080.167820.0004
Override
Cache load0.00140.2815300.0000
Sytem overhead
Fetch class attribute can translate value0.00080.164520.0004
Fetch class attribute name0.00090.173660.0001
XML
Image XML parsing0.00090.174020.0004
class_abstraction
Instantiating content class attribute0.00000.003280.0000
General
dbfile0.00140.2787230.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs