1
Fork 0

Limit total shown albums on photos page

This commit is contained in:
viktorstrate 2020-02-24 09:36:31 +01:00
parent 09ddbae662
commit 1f5f367442
1 changed files with 1 additions and 4 deletions

View File

@ -1,16 +1,13 @@
import React, { Component } from 'react'
import { Helmet } from 'react-helmet'
import Layout from '../../Layout'
import gql from 'graphql-tag'
import { Query } from 'react-apollo'
import PhotoGallery from '../../components/photoGallery/PhotoGallery'
import PhotoSidebar from '../../components/sidebar/PhotoSidebar'
import AlbumTitle from '../../components/AlbumTitle'
import { SidebarConsumer } from '../../components/sidebar/Sidebar'
const photoQuery = gql`
query allPhotosPage {
myAlbums(filter: { order_by: "title", order_direction: ASC }) {
myAlbums(filter: { order_by: "title", order_direction: ASC, limit: 100 }) {
title
id
photos(