Git Product home page Git Product logo

Comments (3)

spences10 avatar spences10 commented on August 18, 2024

@meesfrenkelfrank so let me get this straight, there are projects from both the PUBLISHED and DRAFT stage being shown on the page?

And you only want to show PUBLISHED stage items? Correct?

I recall trying to do something similar in Gatsby a while back, but that was for local files, but the same sort of behaviour and I worked around it on the client. Maybe you could do something similar??

Could you add the stage in the Gatsby node query and check there? Maybe do a logic check there.

from gatsby-source-graphcms.

meesfrenkelfrank avatar meesfrenkelfrank commented on August 18, 2024

@spences10 to get it clear. The problem is not the published or draft items. The problem is that when I am inside a category the previous and next links to navigate to previous and next items takes all the items instead of only the array of items inside that specific category. How do I solve that?

from gatsby-source-graphcms.

notrab avatar notrab commented on August 18, 2024

@meesfrenkelfrank is this still an issue?

Does the next/previous types have arguments to filter also?

I believe there was some Gatsby limitation with this a while back that I've no idea if the Gatsby team resolved.

I'll close this for now since it's been stale for a bit. Will reopen if we need to though.

from gatsby-source-graphcms.

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.