2014-11-26 04:37 EST

View Issue Details Jump to Notes ] Wiki ]
IDProjectCategoryView StatusLast Update
0008656mantisbtapi soappublic2014-01-21 16:21
Reportermwietscher 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
StatusconfirmedResolutionopen 
Product Version1.1.0rc3 
Target VersionFixed in Version 
Summary0008656: please provide function that return issue count of current filter
Descriptionto be able to design a usable browsing functionality (first, previous, 1, 2, 3, ... 99, next, last) it would be necessary to know the number of issues that fit to current filter

please please provide us with function like

int mc_filter_get_issue_count(username, password, project_id, filter_id)

i know too less about php to do it on my own
TagsNo tags attached.
Attached Files

- Relationships
+ Relationships

-  Notes
User avatar

~0034453

winston (reporter)

Doesn't using mc_filter_get_issues() or mc_filter_get_issue_headers() with per_page = -1 solve this issue?
User avatar

~0034506

rombert (developer)

How would that work?
User avatar

~0034507

winston (reporter)

Documentation of those functions says: 'Pass "-1" for the per_page parameter to get all issues.' - so there is a way to know the number of bugs that fit the filter.
User avatar

~0034509

rombert (developer)

Right, but you'll always retrieve the full bug listing which probably isn't what you want from a performance point of view.
User avatar

~0039124

atrol (developer)

Unassigned after having been assigned for a long time without progress.
+  Notes

- Issue History
Date Modified Username Field Change
2007-12-06 17:41 mwietscher New Issue
2007-12-15 20:23 vboctor Status new => acknowledged
2008-05-02 17:17 daryn Status acknowledged => assigned
2008-05-02 17:17 daryn Assigned To => daryn
2012-03-06 06:55 rombert Target Version => 1.3.x
2012-12-03 11:44 winston Note Added: 0034453
2012-12-08 07:15 rombert Note Added: 0034506
2012-12-08 07:58 winston Note Added: 0034507
2012-12-09 07:25 rombert Note Added: 0034509
2014-01-21 16:20 atrol Note Added: 0039124
2014-01-21 16:21 atrol Assigned To daryn =>
2014-01-21 16:21 atrol Status assigned => confirmed
2014-01-21 16:21 atrol Target Version 1.3.x =>
+ Issue History