-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SEBLOD counts are wrong #787
Comments
Hello, Is there any join table on the query? A join table would indeed change the count... and a GROUP BY (manually applied) is required in that case (using the Search Query plug-in). Without join table the count is expected to be right. Saba |
There is no join table. There are a number of items called Index Entries. It has the wrong number of them listed. The total number does not match the number in the database. And many queries bring up the wrong count. The counts are wrong EVERYWHERE
…________________________________
From: Sebastien Heraud ***@***.***>
Sent: Wednesday, January 17, 2024 11:47 AM
To: Octopoos/SEBLOD ***@***.***>
Cc: Kim Bare ***@***.***>; Author ***@***.***>
Subject: Re: [Octopoos/SEBLOD] SEBLOD counts are wrong (Issue #787)
Hello,
Is there any join table on the query? A join table would indeed change the count... and a GROUP BY (manually applied) is required in that case (using the Search Query plug-in).
This may be the issue you're facing... and it was already the case in Joomla! 3 / SEBLOD 3.
Joining on users? (with multiple relations found)? In that case you cannot compare the query with the one found on PhpMyAdmin.
Without join table the count is expected to be right.
Feel free to confirm, but if this is the case it's a specific one.
Then yes we may see if there is a way to improve it, but adding it by default may not be the best.
Saba
—
Reply to this email directly, view it on GitHub<#787 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFYYOQUNN2IIOCDKRZ45333YPAMEBAVCNFSM6AAAAAA747AKN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJWGQZTKNJRGQ>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
There is no join table. I have a list and search type, and in the configuration I said show Items Number: Show. The numbers for the item we call Index Entries is wrong everywhere. The total number is wrong and many, many queries show the wrong number. For example, we search for one that says school. It says there are 12 results but only 10 display in the list. (there is no limit on the number to display). Another query says the results are 5 but show only 4. Another says the results are 44 and only 40 display. The counts are wrong EVERYWHERE for this object. And the database shows 86 less that the total that shows in the list. |
Thanks for responding - at least someone finally did! But I haven't used a group by. This is just a regular count as to how many items there are and it's off by up to 86. |
There is no join table. There are a number of items called Index Entries. It has the wrong number of them listed. The total number does not match the number in the database. And many queries bring up the wrong count. The counts are wrong EVERYWHERE
There is no join table. I have an item called Index Entry. I have a list and search type set up to display the Index Entries. |
Hi @kimbare, We will let you know our findings by tomorrow, but we may send you an email to get some additional details or access. Thanks, |
I purchased an hour of consulting and we have a few issues. We don't feel like the count issue should count for that one hour because that should work out of the box
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Sebastien Heraud ***@***.***>
Sent: Monday, January 22, 2024 3:04:15 AM
To: Octopoos/SEBLOD ***@***.***>
Cc: Kim Bare ***@***.***>; Mention ***@***.***>
Subject: Re: [Octopoos/SEBLOD] SEBLOD counts are wrong (Issue #787)
Hi @kimbare<https://github.com/kimbare>,
We will let you know our findings by tomorrow, but we may send you an email to get some additional details or access.
Thanks,
Sebastien
—
Reply to this email directly, view it on GitHub<#787 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFYYOQTWTWSNA5D5MKNS56LYPY2R7AVCNFSM6AAAAAA747AKN2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBTGY2DMOJRGU>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @kimbare, About the count, feel free to share the SQL query (from the debug). And about the support hour, if you have any other issue in mind (your top priority), please let us know. Sebastien |
Thanks Kim. Please copy and paste here the query. |
Hi @kimbare, And if you search for Thanks, |
Whatever is counting the number of results from a search in SEBLOD is giving the wrong answer. For example, when one enters a search, it says there are 5 items that match that search. Yet, the list only shows 3 items. It another case, it says there are 8 items that match the search criteria, yet only 7 items are displayed. It says there is a total of 1076 total number of items in our system (for which we have SEBLOD forms and it is being saved as it's own item), yet in the database (cck_store_form_nnnnn), yet there are 980 records. So how can there be 1076 total of that item?
This is just one of many issues with SEBLOD since moving to Joomla 4 and Seblod 4.XXX
The text was updated successfully, but these errors were encountered: