Coder Social home page Coder Social logo

Comments (11)

imcaizheng avatar imcaizheng commented on August 21, 2024 1

I found the cause of the issue is similar to the one for #51
GET /taas-teams internally invoking JobService.searchJobs({ projectIds }) to search all jobs, which is limited by pagination. We should modify the searchJobs() function to allow all jobs returned just like we did before.

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

I've checked the data. This project has jobs with numPositions > 0, but totalPositions is not returned at all for this project

image

image

  1. We have to fix this issue.
  2. We have to update the logic to calculate totalPositions. We should only sum numPositions of jobs whose status is NOT cancelled or closed.

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Contest https://www.topcoder.com/challenges/30158839 has been created for this ticket.

This is an automated message for maxceem via Topcoder X

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@imcaizheng ready for pickup.

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Contest https://www.topcoder.com/challenges/30158839 has been updated - it has been assigned to aaron2017.

This is an automated message for maxceem via Topcoder X

from taas-apis.

imcaizheng avatar imcaizheng commented on August 21, 2024

@maxceem I checked in the source code and found that property totalPositions is returned only for GET /taas-teams. That is why GET /taas-teams/:projectId currently returns no totalPositions. Are we going to alter the behavior?

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@imcaizheng no. We only have to fix it in GET /taas-teams.

See this screenshot, totalPosisitions is not returned by GET /taas-teams

image

Though this team has some valid jobs with numPositions as could be seen on this screenshot:

image

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

@imcaizheng great. Agree, let's apply a similar fix.

from taas-apis.

imcaizheng avatar imcaizheng commented on August 21, 2024

PR created #74

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Thanks, @imcaizheng. Works great locally and on DEV:

image

from taas-apis.

maxceem avatar maxceem commented on August 21, 2024

Payment task has been updated: https://software.topcoder.com/review/actions/ViewProjectDetails?pid=30158839

This is an automated message for maxceem via Topcoder X

from taas-apis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.