{"id":90914,"date":"2014-01-13T01:35:05","date_gmt":"2014-01-13T09:35:05","guid":{"rendered":"https:\/\/tri.be\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/"},"modified":"2014-02-06T16:03:53","modified_gmt":"2014-02-07T00:03:53","slug":"events-list-previous-events-and-next-events-behavior-on-past-events","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/","title":{"rendered":"Events List: Previous Events and Next Events Behavior on Past Events"},"content":{"rendered":"<p>When viewing Events As A List: For <em>upcoming<\/em> events, the Previous and Next Events buttons work properly. However, for <em>past<\/em> events, they are exhibiting the following incorrect (I believe) behavior:<\/p>\n<p>I&#8217;ll start with the &#8220;Previous Events&#8221; button. While viewing upcoming events, pressing it brings me (correctly) back to the next earliest events. However, as soon as I pass the earliest upcoming event, <em>the next event brought up is the oldest Event on the site<\/em>. From that point on, the &#8220;Previous Events&#8221; button moves FORWARD in time through the past events until it reaches the most recent past event on the site.<\/p>\n<p>Conversely, if I press the &#8220;Next Events&#8221; button, it will &#8220;undo&#8221; the last press of the &#8220;Previous Events&#8221; button and take me back to earlier events.<\/p>\n<p>Interestingly, the URL that appears corresponds to the Events that SHOULD be getting displayed, not the ones that are getting displayed. In fact, if at any point I simply refresh the browser, the incorrect Events are replaced with the correct ones&#8211;until I next press the Previous or Next Events buttons. So it appears to me that the problem is likely in the AJAX logic (tribe-events-ajax-calendar.js ?).<\/p>\n<p>Again, this behavior only occurs with past events. With upcoming events, the buttons work properly.<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-90914","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Events List: Previous Events and Next Events Behavior on Past Events -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Events List: Previous Events and Next Events Behavior on Past Events -\" \/>\n<meta property=\"og:description\" content=\"When viewing Events As A List: For upcoming events, the Previous and Next Events buttons work properly. However, for past events, they are exhibiting the following incorrect (I believe) behavior: I&#8217;ll start with the &#8220;Previous Events&#8221; button. While viewing upcoming events, pressing it brings me (correctly) back to the next earliest events. However, as soon [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/\" \/>\n<meta property=\"article:modified_time\" content=\"2014-02-07T00:03:53+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/\",\"name\":\"Events List: Previous Events and Next Events Behavior on Past Events -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2014-01-13T09:35:05+00:00\",\"dateModified\":\"2014-02-07T00:03:53+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Events List: Previous Events and Next Events Behavior on Past Events\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Events List: Previous Events and Next Events Behavior on Past Events -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/","og_locale":"en_US","og_type":"article","og_title":"Events List: Previous Events and Next Events Behavior on Past Events -","og_description":"When viewing Events As A List: For upcoming events, the Previous and Next Events buttons work properly. However, for past events, they are exhibiting the following incorrect (I believe) behavior: I&#8217;ll start with the &#8220;Previous Events&#8221; button. While viewing upcoming events, pressing it brings me (correctly) back to the next earliest events. However, as soon [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/","article_modified_time":"2014-02-07T00:03:53+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/","name":"Events List: Previous Events and Next Events Behavior on Past Events -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2014-01-13T09:35:05+00:00","dateModified":"2014-02-07T00:03:53+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/events-list-previous-events-and-next-events-behavior-on-past-events\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Events List: Previous Events and Next Events Behavior on Past Events"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/90914","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/90914\/revisions"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=90914"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}