Skip to content

Fix Log Display Screen #120

@joshbetz

Description

@joshbetz

The Syndication Logs screen is a little broken. It looks like we use the same query on every page and filter in PHP. This creates a couple problems

  • We only get the most recent logs. On an active site, the related logs can scroll out of range before you even get a chance to look.
  • You can't get all the, for example, errors on a single page. There's always the same number of pages, and we just filter out other messages. You can end up with page 1 being empty, page 2 having 1 error entry, etc.
SELECT post_id, meta_value
FROM wp_postmeta
WHERE meta_key = 'syn_log'
GROUP BY post_id
ORDER BY meta_id DESC
LIMIT 0, 100

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions