Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.10.0, 3.9.4, 4.0.0beta1, extension/ezwebin 1.2-1
-
None
Description
Hi
I am not sure if this issue is already reported before, but one of our customer gets this problem so I am reporting it here.
We have fetch function fetch('Content', 'keyword_count' .......... ), which returns keyword count with wildcard(%) match, which is correct but we want some more filtering for e,g,
Many places we really need the object count which has some particular keywords to display list of objects/nodes with the same keywords or all keywords and may be we need object/node count for google navigator as well.
The place where fetch('Content', 'keyword_count' .......... ) fails is as follow.
for e.g. if I create a object of article class and add following keywords to it.
Skien, SkienEast,SkienWest.
Then with same keyword called "Skien" the keyword count will be 3, where it is represented by only one object.
In this case object count fails.
I see these fetch functions are correct.
http://ez.no/doc/ez_publish/technical_manual/3_10/reference/modules/content/fetch_functions/keyword
http://ez.no/doc/ez_publish/technical_manual/3_10/reference/modules/content/fetch_functions/keyword_count
but to serve above mentioned issues we may need some more keyword fetch function or need to enhance the same operator with some more filtering condition so it should be possible to avoid fetching duplicate nodes and duplicate node_count.
Steps to reproduce
This can also be checked from eZ Webin website interface for e.g.
for e.g. if I create a object of article class and add following keywords to it.
Skien, SkienEast, SkienWest.
Now if you go to "Tags cloude" part of site and then move mouse pointer to the word "Skien", you will notice that
it will say "Object count 3", while there is only one object with this word.
Attachments
Issue Links
- relates to
-
EZP-8530 eZkeyword attribute can have same keyword several time.
- Closed