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)
- Can not create Issue with ParentIssue HOT 7
- Debug into source code
- Can not get groups and memberships from User HOT 1
- Now create new Project Membership HOT 3
- Problem of type on ChangeSet Revision property HOT 2
- Compatibility with Easy Redmine 12.5.3 / API 3.7.7 HOT 1
- How to create an http connection using host and apikey?
- Unable to create new item with latest version
- Unable to deserialize Redmine User with enabled two-factor authentication HOT 1
- How to get x issues? HOT 1
- Getting role ends with exception HOT 1
- Adding a new journal item / note HOT 2
- Get file list of a project HOT 1
- Update issues HOT 1
- Unable to get notes
- Remove internal setter from Notes from Journals HOT 5
- Journal issue HOT 6
- Issue cloning: Cloning CustomFields is not correct HOT 2
- Issue Serialization HOT 8
- Assignee update in Issue 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.