6.0.0-RC7
6/19/26

[#7949] Limit galleries displayed by image count
Summary Limit galleries displayed by image count
Queue Ansel
Queue Version HEAD
Type Enhancement
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester duck (at) obala (dot) net
Created 2/4/09 (6344 days ago)
Due
Updated 2/6/09 (6342 days ago)
Assigned
Resolved 2/6/09 (6342 days ago)
Milestone
Patch Yes

History
126 Michael Rubinsky Comment #6
State ⇒ Resolved
Reply to this comment
Tweaked the configuration text, changed the code to actually use the 
correct configuration parameter, and committed.



Thanks.
129 Michael Rubinsky Summary ⇒ Limit galleries displayed by image count
 
529 Michael Rubinsky Comment #4
Summary ⇒ Limit galleriesd displayed by image count
State ⇒ Accepted
Reply to this comment
Ah, so in otherwords, I *was* missing something :)



Sounds reasonable. Thanks. Should also probably document the allowed 
values for the $attribute array in those share functions as well.
239 Duck Comment #3 Reply to this comment
Maybe I'm missing something here, but I don't see how this patch does
anything except mangle the $attributes['images'] value?
When calling Horde_Share_sql_hierarchical::_getShareCriteria() the 
image attribute is an array, so it take  filters the sql query with 
"attribute_images > X".
429 Michael Rubinsky Comment #2
State ⇒ Feedback
Assigned to Michael Rubinsky
Reply to this comment
Maybe I'm missing something here, but I don't see how this patch does 
anything except mangle the $attributes['images'] value?
79 Duck Comment #1
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ Limit gallery by images
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ Yes
New Attachment: limit.diff Download
State ⇒ New
Reply to this comment
On installations with large numbers of galleries, it is useful to 
public display only galleries with certain number of images. For 
example to avoid listing still empty galleries. The patch allows to 
specify the the number of images needed to be in gallery to make it 
available in public list.

Saved Queries