Skip to content

Wrong limit on Entry Manager page when Categories column present #987

Closed

Description

@diarbyrag

I have a test site running ee 6.0.3, imported data using Zealous Web's Import / Export addon, had a few problems and they are now fixed, however before I reinstalled the updated version I deleted the 31 entries from the first import, cleared all caches and then installed the new version of the app and imported the 31 entries again which had been altered slightly to include statuses and URL_titles.

Imported all 31 perfectly apart from the fact that the channel entries page (cp/publish/edit) only shows 13 entries when it is set to show 25, the drop down set to show 50 only shows 25, set to 75 shows them all, the weird bit is the last option says show all 62 entries, there are only 31 ?

Activity

  1. diarbyrag commented on Mar 31, 2021

    @diarbyrag
    Author

    Have just tried something different with this issue, I have two channels, one is empty, the other is the test with 31 entries, if I select the actual channel it displays 25 as it should but if I select view all entries it then only shows 13 as above

  2. added
    Bug: Unconfirmed
    under review
    on Mar 31, 2021
  3. ops-andy commented on Mar 31, 2021

    @ops-andy
    Contributor

    @diarbyrag thanks for reporting all this. It's a little tough to replicate and fulyl grok what's going on here. Can you provide some screenshots and or video recordings that help visualize what you're explaning.
    thanks.

  4. diarbyrag commented on Apr 1, 2021

    @diarbyrag
    Author

    Hi, yes it is a bit confusing, apologies but anyway hope this works better

    In my test site I have 2 channels, education & eat_drink,

    There are 31 entries in education and none in eat_drink.

    Now the screenshots

    01/ click the entries tab in the sidebar and all it shows are 13 entries when it ought to show 25 ?

    02/ click the entries tab in the sidebar then click the drop down at the bottom to choose number of entries to show and it offers to show all 62 items when there are only 31 in total ( original 31 were deleted )

    03/ click view all and set it so show 50 entries and click view all it shows 25 entries when it ought to show all 31 as there are not 50 anyway ?

    04/ however, click the education channel entries tab and it shows 25 as it should.

    05/ just to show there are no entries in the eat_drink channel

    Tried it in Firefox dev and safari and it does the same so not a browser cache problem I assume.

    As I said I have cleared all the ee cache files via the CP.

    screengrabs.pdf

  5. intoeetive commented on Apr 1, 2021

    @intoeetive
    Contributor

    This might be an issue with the import add-on you are using. Try going to your database and checking whether number of records in exp_channel_data is matching number of records in exp_channel_titles

  6. diarbyrag commented on Apr 1, 2021

    @diarbyrag
    Author

    Hi Yuri, thanks for the speedy reply, screengrabs of exp_channel_data & exp_channel_titles results. they both appear to show 31 entries as far as i can see.
    I'm no expert on databases I'm afraid so I appreciate all the help.
    If you need more please let me know

    Screen Shot 2021-04-01 at 14 20 22
    Screen Shot 2021-04-01 at 14 22 06

  7. intoeetive commented on Apr 1, 2021

    @intoeetive
    Contributor

    That looks correct. However you are mentioning "had a few problems" - and I think there might be still someting corrupt.

    Would it be possible for you sping up new testing site, do the same import and see if you still have the issue?

  8. diarbyrag commented on Apr 1, 2021

    @diarbyrag
    Author
  9. diarbyrag commented on Apr 6, 2021

    @diarbyrag
    Author
  10. diarbyrag commented on Apr 6, 2021

    @diarbyrag
    Author
  11. intoeetive commented on Apr 7, 2021

    @intoeetive
    Contributor

    Looks like the screenshots did not come through. Can you post those again?

  12. diarbyrag commented on Apr 7, 2021

    @diarbyrag
    Author

    In the education channel, there are now 32 entries.

    (1) If I set ee to show 25 entries as is the default it shows 13 entries by
    Title BUT with the Categories selected to show in the listing there are 25
    Categories entries.
    with Categories

    (2) Now if I remove the Categories in the listing it shows 25 entries by
    Title
    without categories

    So if that is normal behavior then there is no bug, however I always
    thought that the entries were only listed by title as one entry can be in
    several categories but it is still really only one entry ?

    The fact it showed more entries than there are in the drop down menu at the bottom is just that ee appears to
    count the categories as separate entries hence 32 actual entries but 65 virtual ones ( one entry is in three categories , all others are in two )

    next time will post in github, replying by email doesn't seem to work

  13. intoeetive commented on Apr 7, 2021

    @intoeetive
    Contributor

    I'm still unable to replicate this :(

    Just to confirm, "Categories" column represent categories, not the custom field named "categories"?

    If you add and entry via Control Panel and don't assign it to any category, would it still not show when Categories column is present?

  14. diarbyrag commented on Apr 7, 2021

    @diarbyrag
    Author
  15. diarbyrag commented on Apr 7, 2021

    @diarbyrag
    Author

    Hi Yuri,
    Didn't think this would be so hard to explain, might have got it this time.

    In the CP I have selected the education channel which contains 32 single entries, some of which are in two or three different categories.

    So...

    I selected to show the categories in the drop down to the right.

    I selected to list alphabetically by title

    Default at the bottom says show (25)

    The panel lists 13 entries by title not 25 out of 32.

    Now ...

    Image 1 >> if you count the categories in the list it = 25.

    Image 2 >> I removed two categories from Adlington entry so it has no category attached to it. The list then shows 24 categories but does not show the category of primary with the Hollinhey entry at the bottom, however with the first one empty (counted as one) ee then shows 24 category entries by removing primary from the last one = 25

    Image 3 >> I removed two categories from Adlington & Bollonbrook entries so they have no categories attached to them, the list then shows 23 categories with two empty, primary is now showing on the last one = 25

    Visually it looks wrong as I expected ee to list entries just by title, it is quite common to add an entry with different categories to enable customers to find something by different routes ?

    In the scheme of things it is no big deal but if it then lists entries but removes categories from view then that can be confusing.

    I would much prefer ee to always list the entries by title and disregard however many categories that entry is in ??

    Let me know, I'm sorry if I have caused you any grief, I just found this behavior a bit bizarre .

    Gary

    ee_listing.pdf

  16. changed the title [-]channel entries bug perhaps[/-] [+]Wrong limit on Entry Manager page when Categories column present[/+] on Apr 8, 2021
  17. added
    Bug: Accepted
    and removed
    Bug: Unconfirmed
    under review
    on Apr 8, 2021
  18. intoeetive commented on Apr 8, 2021

    @intoeetive
    Contributor

    @diarbyrag - thank you, I can see this now. We will look for possible solutions (this might be more generic problem as a whole, so might take time)

  19. diarbyrag commented on Apr 8, 2021

    @diarbyrag
    Author
  20. added a commit that references this issue on Dec 1, 2023
    ce5617f
  21. added a commit that references this issue on Mar 11, 2024
    2dffd3f
  22. diarbyrag commented on Mar 11, 2024

    @diarbyrag
    Author
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: AcceptedEE6

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      Sponsor
      SponsoredKunjungi sekarang
      Promo