mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:49:02 +00:00
Limit total shown albums on photos page
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user