Comments (2)
Check your Redmine settings. In your Settings -> General you have the "Objects
per page options" where you can add your own definition.By adding (for
instance) 9999 there would make you able to get that many results per request.
Original comment by [email protected]
on 1 Aug 2012 at 6:05
- Changed state: Fixed
from redmine-net-api.
Thanks for you reply!
I made a solution using multiple requests, using total that came from
GetObjectList.
The code became:
this.projects = manager.GetObjectList<Project>(parameters, out
totalCount).ToList();
if (totalCount > 100)
{
int steps = (totalCount % 100 > 0 ? (totalCount / 100) + 1 : totalCount / 100);
for (int step = 1; step < steps; step++)
{
parameters = new NameValueCollection { { "limit", "100" }, { "offset", (step * 100).ToString() } };
this.projects.AddRange(manager.GetObjectList<Project>(parameters).ToList());
}
}
Original comment by [email protected]
on 1 Aug 2012 at 12:55
from redmine-net-api.
Related Issues (20)
- Getting Custom Fields Values HOT 1
- Cannot connect using net.api and SSO HOT 2
- Cant Add Watchers while Updating Issue HOT 1
- GetObjectListAsync<T> return Guid ? HOT 1
- ProjectMembership issue HOT 4
- Get "CustomFields" returns the wrong type HOT 2
- Priority can't be blank HOT 2
- Creating Issue working in Redmine version 2.4.2.stable but not in 2.5.2.stable... HOT 2
- strong signing HOT 2
- How to use Async requests? HOT 1
- json parsing watchers HOT 2
- Query workflow table via REST HOT 2
- EOL Normalization issue, depending on used input EOLs are duplicated. HOT 2
- Custom fields for Users not saved HOT 1
- Exception when parse relation
- Trouble creating issue using 2 custom fields HOT 2
- Cannot get custom fields for project
- NuGet version update
- Update redmine-net-api to .net 4.5 HOT 1
- Release HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from redmine-net-api.