Closed (fixed)
Project:
Hierarchical Select
Version:
7.x-3.x-dev
Component:
Code - Taxonomy
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Feb 2011 at 17:50 UTC
Updated:
9 Jun 2016 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
wim leers"Entity count" support will only be added to HS3 if it gets sponsored (or contributed, of course). It will definitely be included in the rewrite of HS, HS 4.
Comment #2
wim leersPossible solution in #1190028: D6 to D7 SQL Conversion. That issue was marked as duplicate of this one. Other duplicate issues: #1142264: same issue dont any 1 heregot the solution :(, #1206766: README text not yet updated for D7 port.
Comment #3
wim leersAnother duplicate was at #1107092: Fatal Error.
Comment #4
alexverb commentedWell 5 years later... Here's an entity count patch for hierarchical select. It provides an entity_count setting that other modules can use to calculate the entity count. In this patch it's implemented for the hs_taxonomy module. Though you can only use this feature if you have the Taxonomy entity index module installed.
TODO's are:
On my computer it works fine. I need some testers :)
Comment #5
alexverb commentedJust removed the dependency on taxonomy_entity_index. With this patch it will work as well with cores taxonomy_index table. You now get a notice in the fieldset description saying the functionality is extendible to other entities by installing that module.
Comment #6
alexverb commented@stefan.r, Gold, Wim Leers:
Could you give me an example of how to implement the New cache system: JS? I would like to have a look at it to see if I can avoid making expensive database queries for counting the entities. The clientside caching would be a perfect solution for this. And it would be a good alternative to actually creating a cache table in Drupal, which you already removed for reasons not known to me.
Once I know the ins and outs of the caching mechanism I would be happy to write a patch to implement that in 7.x-3.x.
Without caching the Entity count feature becomes rather handicapped once you get a decent amount of tagged entities.
Comment #7
alexverb commented@stefan.r, I've looked at your remarks and handled those that I could.
I guess I've handled 6 out of 8 of your remarks. Maybe it's possible to create seperate issues for n°4 and n°8?
Comment #8
stefan.r commentedLooks OK to me
Comment #10
stefan.r commentedComment #12
stefan.r commentedThe update hook was not included in the patch, so committing that for the next beta