Sorting & pagination of reviews is broken
-
Hi all,
I tested comment pagination and sorting (in my case) for product reviews by configuring pagination and sorting in wordpress-settings/discussion.
Unfortunately, it seems that pagination and sorting is applied in that exact order, which means, it paginates first before ordering.
Of course I want to have the latest reviews on page one (and page one should be shown as default) with the newest on top and the oldest at the bottom of the last review page.
Since it seems that sorting is done after pagination, this does not seem to be possible, which is super weird.
E.g. if I configure pagination to 10 with most recent review first, the first page shows the oldest 10 reviews but in reverse chronological order and the last page shows the newest reviews with the very latest at the top.
Is there a way to achieve sorting first before pagination?
Thanks
MarkusPS:
I narrowed it down with Twenty Twenty theme and only WooCommerce as active plugin.
It only affects product reviews, not regular comments.
Regular comments are sorted as expected.
-
Hi @markisu72
if I configure pagination to 10 with most recent review first, the first page shows the oldest 10 reviews but in reverse chronological order and the last page shows the newest reviews with the very latest at the top. Is there a way to achieve sorting first before pagination?
I narrowed it down with Twenty Twenty theme and only WooCommerce as active plugin. It only affects product reviews, not regular comments.
Thanks for testing that the product reviews are not sorted as expected even with the Twenty theme active.
Please also test what happens when you temporarily deactivate all other plugins (except WooCommerce).
You can test this out on a staging site using a plugin like WP Staging, without affecting the appearance of the front end.
You can find a more detailed explanation on how to do a conflict test here.
If nothing comes out of the conflict test, could you please share a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.
I already tested everything with only WooCommerce activated as only plugin and Twenty Twenty (see my original post).
The issue occurs in that setting.
I removed the server names from the config.Hope that helps
Markus### WordPress Environment ### WordPress address (URL): *** Site address (URL): *** WC Version: 6.7.0 REST API Version: ✔ 6.7.0 WC Blocks Version: ✔ 7.8.3 Action Scheduler Version: ✔ 3.4.0 Log Directory Writable: ✔ WP Version: 6.0.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: de_DE External object cache: – ### Server Environment ### Server Info: nginx/1.17.5 PHP Version: 7.4.30 PHP Post Max Size: 2 GB PHP Time Limit: 300 PHP Max Input Vars: 10000 cURL Version: 7.58.0 OpenSSL/1.1.1 SUHOSIN Installed: – MySQL Version: 5.5.5-10.4.25-MariaDB-1:10.4.25+maria~bionic Max Upload Size: 2 GB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 6.7.0 WC Database Prefix: co1uw_ Datenbank-Gesamtgröße: 394.09MB Datenbank-Datengröße: 240.59MB Datenbank-Indexgröße: 153.50MB co1uw_woocommerce_sessions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_woocommerce_api_keys: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_attribute_taxonomies: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_woocommerce_downloadable_product_permissions: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB co1uw_woocommerce_order_items: Daten: 1.52MB + Index: 0.38MB + Engine InnoDB co1uw_woocommerce_order_itemmeta: Daten: 18.55MB + Index: 18.03MB + Engine InnoDB co1uw_woocommerce_tax_rates: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB co1uw_woocommerce_tax_rate_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_shipping_zones: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_woocommerce_shipping_zone_locations: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_shipping_zone_methods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_woocommerce_payment_tokens: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_woocommerce_payment_tokenmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_log: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_actionscheduler_actions: Daten: 9.52MB + Index: 11.11MB + Engine InnoDB co1uw_actionscheduler_claims: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_actionscheduler_groups: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_actionscheduler_logs: Daten: 5.52MB + Index: 5.03MB + Engine InnoDB co1uw_atum_order_itemmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_atum_order_items: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_atum_product_data: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_berocket_termmeta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_cartflows_ca_cart_abandonment: Daten: 3.52MB + Index: 0.06MB + Engine InnoDB co1uw_cartflows_ca_email_history: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_cartflows_ca_email_templates: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_cartflows_ca_email_templates_meta: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_cli_cookie_scan: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_cli_cookie_scan_categories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_cli_cookie_scan_cookies: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_cli_cookie_scan_url: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_cli_scripts: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_commentmeta: Daten: 0.11MB + Index: 0.19MB + Engine InnoDB co1uw_comments: Daten: 5.52MB + Index: 3.64MB + Engine InnoDB co1uw_content_tabs_ultimate_list: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_content_tabs_ultimate_style: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_csp3_subscribers: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_css_js_manager: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_ewwwio_images: Daten: 1.52MB + Index: 1.75MB + Engine InnoDB co1uw_ewwwio_queue: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_e_events: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_e_notes: Daten: 0.02MB + Index: 0.17MB + Engine InnoDB co1uw_e_notes_users_relations: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_e_submissions: Daten: 0.02MB + Index: 0.27MB + Engine InnoDB co1uw_e_submissions_actions_log: Daten: 0.02MB + Index: 0.11MB + Engine InnoDB co1uw_e_submissions_values: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_followup_coupons: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_followup_coupon_logs: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_followup_customers: Daten: 0.22MB + Index: 0.44MB + Engine InnoDB co1uw_followup_customer_carts: Daten: 3.52MB + Index: 0.27MB + Engine InnoDB co1uw_followup_customer_notes: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_followup_customer_orders: Daten: 0.19MB + Index: 0.13MB + Engine InnoDB co1uw_followup_email_excludes: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_followup_email_logs: Daten: 1.52MB + Index: 0.34MB + Engine InnoDB co1uw_followup_email_orders: Daten: 2.52MB + Index: 0.67MB + Engine InnoDB co1uw_followup_email_tracking: Daten: 0.47MB + Index: 0.53MB + Engine InnoDB co1uw_followup_followup_history: Daten: 1.52MB + Index: 0.30MB + Engine InnoDB co1uw_followup_order_categories: Daten: 0.20MB + Index: 0.27MB + Engine InnoDB co1uw_followup_order_items: Daten: 0.42MB + Index: 0.70MB + Engine InnoDB co1uw_followup_subscribers: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_followup_subscribers_to_lists: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_followup_subscriber_lists: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_links: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_custom_fields: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_dynamic_segment_filters: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_feature_flags: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_forms: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_mailpoet_log: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_mailpoet_mapping_to_external_entities: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_newsletters: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_newsletter_links: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_mailpoet_newsletter_option: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_newsletter_option_fields: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_newsletter_posts: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_newsletter_segment: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_newsletter_templates: Daten: 2.52MB + Index: 0.00MB + Engine InnoDB co1uw_mailpoet_scheduled_tasks: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_scheduled_task_subscribers: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_segments: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_sending_queues: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_settings: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_statistics_clicks: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_mailpoet_statistics_forms: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_statistics_newsletters: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_statistics_opens: Daten: 0.02MB + Index: 0.08MB + Engine InnoDB co1uw_mailpoet_statistics_unsubscribes: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_mailpoet_statistics_woocommerce_purchases: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB co1uw_mailpoet_stats_notifications: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_subscribers: Daten: 0.02MB + Index: 0.11MB + Engine InnoDB co1uw_mailpoet_subscriber_custom_field: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_subscriber_ips: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_mailpoet_subscriber_segment: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_mailpoet_user_flags: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_ms_snippets: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_newsletter: Daten: 0.09MB + Index: 0.03MB + Engine InnoDB co1uw_newsletter_emails: Daten: 1.52MB + Index: 0.00MB + Engine InnoDB co1uw_newsletter_sent: Daten: 0.16MB + Index: 0.17MB + Engine InnoDB co1uw_newsletter_stats: Daten: 0.19MB + Index: 0.19MB + Engine InnoDB co1uw_newsletter_user_logs: Daten: 0.09MB + Index: 0.00MB + Engine InnoDB co1uw_options: Daten: 19.48MB + Index: 0.48MB + Engine InnoDB co1uw_oxi_div_import: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_postmeta: Daten: 65.56MB + Index: 30.58MB + Engine InnoDB co1uw_posts: Daten: 10.41MB + Index: 3.22MB + Engine InnoDB co1uw_rank_math_404_logs: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_rank_math_analytics_adsense: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_rank_math_analytics_ga: Daten: 2.52MB + Index: 2.52MB + Engine InnoDB co1uw_rank_math_analytics_gsc: Daten: 8.52MB + Index: 15.06MB + Engine InnoDB co1uw_rank_math_analytics_inspections: Daten: 0.38MB + Index: 0.11MB + Engine InnoDB co1uw_rank_math_analytics_keyword_manager: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_rank_math_analytics_objects: Daten: 0.06MB + Index: 0.02MB + Engine InnoDB co1uw_rank_math_internal_links: Daten: 0.13MB + Index: 0.05MB + Engine InnoDB co1uw_rank_math_internal_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_rank_math_redirections: Daten: 0.13MB + Index: 0.02MB + Engine InnoDB co1uw_rank_math_redirections_cache: Daten: 1.52MB + Index: 0.23MB + Engine InnoDB co1uw_storeabill_documentmeta: Daten: 13.52MB + Index: 11.03MB + Engine InnoDB co1uw_storeabill_documents: Daten: 1.52MB + Index: 0.81MB + Engine InnoDB co1uw_storeabill_document_itemmeta: Daten: 25.56MB + Index: 19.06MB + Engine InnoDB co1uw_storeabill_document_items: Daten: 3.52MB + Index: 4.55MB + Engine InnoDB co1uw_storeabill_document_noticemeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_storeabill_document_notices: Daten: 1.52MB + Index: 0.34MB + Engine InnoDB co1uw_storeabill_journals: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_termmeta: Daten: 0.09MB + Index: 0.13MB + Engine InnoDB co1uw_terms: Daten: 0.06MB + Index: 0.03MB + Engine InnoDB co1uw_term_relationships: Daten: 0.11MB + Index: 0.08MB + Engine InnoDB co1uw_term_taxonomy: Daten: 0.06MB + Index: 0.08MB + Engine InnoDB co1uw_tm_taskmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_tm_tasks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_usermeta: Daten: 1.52MB + Index: 3.03MB + Engine InnoDB co1uw_users: Daten: 0.11MB + Index: 0.05MB + Engine InnoDB co1uw_wc_admin_notes: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wc_admin_note_actions: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wc_category_lookup: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wc_customer_lookup: Daten: 0.30MB + Index: 0.22MB + Engine InnoDB co1uw_wc_download_log: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_wc_order_coupon_lookup: Daten: 0.05MB + Index: 0.03MB + Engine InnoDB co1uw_wc_order_product_lookup: Daten: 1.52MB + Index: 1.09MB + Engine InnoDB co1uw_wc_order_stats: Daten: 0.42MB + Index: 0.36MB + Engine InnoDB co1uw_wc_order_tax_lookup: Daten: 0.28MB + Index: 0.25MB + Engine InnoDB co1uw_wc_product_attributes_lookup: Daten: 0.08MB + Index: 0.06MB + Engine InnoDB co1uw_wc_product_download_directories: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wc_product_meta_lookup: Daten: 0.13MB + Index: 0.16MB + Engine InnoDB co1uw_wc_rate_limits: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wc_reserved_stock: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wc_tax_rate_classes: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wc_webhooks: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wfblockediplog: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wfblocks7: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_wfconfig: Daten: 0.48MB + Index: 0.00MB + Engine InnoDB co1uw_wfcrawlers: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wffilechanges: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wffilemods: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wfhits: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_wfhoover: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wfissues: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB co1uw_wfknownfilelist: Daten: 3.52MB + Index: 0.00MB + Engine InnoDB co1uw_wflivetraffichuman: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wflocs: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wflogins: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_wfls_2fa_secrets: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_wfls_settings: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wfnotifications: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wfpendingissues: Daten: 0.02MB + Index: 0.06MB + Engine InnoDB co1uw_wfreversecache: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wfsnipcache: Daten: 0.02MB + Index: 0.05MB + Engine InnoDB co1uw_wfstatus: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_wftrafficrates: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_woocommerce_gzd_dhl_im_products: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_gzd_dhl_im_product_services: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_gzd_dhl_labelmeta: Daten: 0.33MB + Index: 0.41MB + Engine InnoDB co1uw_woocommerce_gzd_dhl_labels: Daten: 0.13MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_gzd_packaging: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_woocommerce_gzd_packagingmeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_woocommerce_gzd_shipmentmeta: Daten: 3.52MB + Index: 3.03MB + Engine InnoDB co1uw_woocommerce_gzd_shipments: Daten: 1.52MB + Index: 0.30MB + Engine InnoDB co1uw_woocommerce_gzd_shipment_itemmeta: Daten: 3.52MB + Index: 4.03MB + Engine InnoDB co1uw_woocommerce_gzd_shipment_items: Daten: 1.52MB + Index: 0.84MB + Engine InnoDB co1uw_woocommerce_gzd_shipment_labelmeta: Daten: 1.52MB + Index: 3.03MB + Engine InnoDB co1uw_woocommerce_gzd_shipment_labels: Daten: 0.30MB + Index: 0.19MB + Engine InnoDB co1uw_woocommerce_gzd_shipping_provider: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_woocommerce_gzd_shipping_providermeta: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_wpforms_tasks_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wpmailsmtp_debug_events: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wpmailsmtp_tasks_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_wsal_metadata: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_wsal_occurrences: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_xyz_ics_countries: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_yoast_indexable: Daten: 1.52MB + Index: 0.36MB + Engine InnoDB co1uw_yoast_indexable_hierarchy: Daten: 0.06MB + Index: 0.08MB + Engine InnoDB co1uw_yoast_migrations: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_yoast_primary_term: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_yoast_seo_links: Daten: 0.02MB + Index: 0.03MB + Engine InnoDB co1uw_yoast_seo_meta: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_ywrr_email_blocklist: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_ywrr_email_schedule: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB co1uw_zettle_queue: Daten: 0.02MB + Index: 0.02MB + Engine InnoDB co1uw_zettle_woocommerce_id_map: Daten: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 982 br_labels: 5 custom_css: 5 customize_changeset: 30 cwginstocknotifier: 230 document_template: 4 elementor_library: 45 elementor-hf: 1 follow_up_email: 1 invoice: 12 mailpoet_page: 1 nav_menu_item: 8 oembed_cache: 15 page: 23 post: 3 product: 151 product_variation: 441 revision: 1153 saswp: 2 seedprod: 4 shop_coupon: 4 shop_order: 3413 shop_order_refund: 272 sp_wcslider: 2 wcpa_pt_forms: 1 wp_global_styles: 1 wpcode: 2 wpforms: 1 ### Security ### Secure connection (HTTPS): ✔ Hide errors from visitors: ✔ ### Active Plugins (1) ### WooCommerce: von Automattic – 6.7.0 (Update auf Version 6.8.0 ist verfügbar) ### Inactive Plugins (0) ### ### Must Use Plugins (1) ### p3-profiler.php: von – ### Settings ### API Enabled: – Force SSL: – Currency: EUR (€) Currency Position: right_space Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: composite (composite) external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ✔ Enforce Approved Product Download Directories: – ### WC Pages ### Shop-Basis: #401 - /produkte/ Warenkorb: #97 - /warenkorb/ Kasse: #98 - /zur-kasse/ Mein Konto: #99 - /konto/ Allgemeine Geschäftsbedingungen: #2079 - /agb/ ### Theme ### Name: Twenty Twenty Version: 2.0 Author URL: https://de.wordpress.org/ Child Theme: ❌ – Wenn du WooCommerce mit einem Theme das du nicht selbst entwickelt hast an eigene Bedürfnisse anpasst dann empfehlen wir die Verwendung eines Child-Themes. Siehe Wie du ein Child-Theme erstellst (engl.) WooCommerce Support: ✔ ### Templates ### Overrides: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products experimental-product-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices wc-pay-promotion wc-pay-welcome-page wc-pay-subscriptions-page Disabled Features: minified-js settings Daily Cron: ✔ Next scheduled: 2022-08-15 09:08:35 +02:00 Options: ✔ Notes: 19 Onboarding: completed ### Action Scheduler ### Abgeschlossen: 22.731 Oldest: 2022-07-14 23:30:02 +0200 Newest: 2022-08-14 17:12:34 +0200 Ausstehend: 40 Oldest: 2022-08-14 17:16:19 +0200 Newest: 2022-08-21 11:30:34 +0200 Abgebrochen: 4 Oldest: -0001-11-30 00:53:28 +0053 Newest: -0001-11-30 00:53:28 +0053 ### Status report information ### Generated at: 2022-08-15 13:46:26 +02:00
Hello there,
Thanks for sending the system status report and following this up.
Ausstehend: 40
Please navigate to WooCommerce > status > scheduled actions > pending run the pending actions (if applicable) then you can allow some time and test again if the issue persists.
If that does not work, can you provide the page URL where the issue is happening so that we can take a closer look?
We’ll look forward to hearing from you, thanks.
Hi @ihereira,
done. Issue persists.
Here is the URL: https://baeibjy.myraidbox.de/produkt/schafmilchseife-eckig/#commentsThis is a test machine which will get deleted automatically in two days.
It had been set up using a backup from the action production system an then I deleted all plugins except Woo and set the theme to Twenty Twenty.Hope that helps
Hello,
WooCommerce: von Automattic – 6.7.0 (Update auf Version 6.8.0 ist verfügbar)
You can also update your WooCommerce version, to do that please check our documentation:
https://woocommerce.com/document/how-to-update-woocommerce/Can you provide a URL to the page that has the pagination and sorting? That will help to take a better look at the issue.
Thanks.
Dear @ihereira,
thanks for your feedback.
I would prefer though, if you would try to reproduce the issue on your side.
Im my previous post, I provided the link you asked me for already.
Unfortunately, the demo box now has been deleted automatically 1 hour ago.I created a new one and this is the link where you can see the issue: https://b1c2y.myraidbox.de/produkt/test/#comments
The comment order (older to newest) is: 1,2,3,4,5,6,7,8,9,10
Pagination is set to 5, first page to be shown as default, newest reviews first.
The first page does NOT show the newest reviews.
You can sort out any side effects from other plugins etc. because this is a FRESH installation with WP 6.0.1 and Woo 6.8.0.
It is in the core.
Hope that help, thanks
MarkusHello,
Product reviews are part of WordPress comments. Sorting and pagination settings are coming from the WordPress discussion settings under Wp-Admin > Settings > Discussion.
I’d recommend raising the question on the WordPress forum: https://wordpress.org/support/forum/how-to-and-troubleshooting/Hi @maykato ,
my endeavour to clarify this issue started in the WordPress forum.
It works as expected with normal post comments.
Only with WooCommerce product reviews it is broken.
That is why the WordPress guys told me to put the issue here.
It’s only broken with Woo product reviews.I feel it makes not much sense to discuss an issue only occurring with Woo in the WP forum, especially since comments sort and paginate right for normal posts.
Best
MarkusHi @markisu72,
Using the “show recent comments first” option in WordPress applies only to each individual page and not to all comments on that product. So this is the default behavior for WooCommerce reviews as well, and if you want to change it, you’d need either a plugin or custom code.
These are some resorces that I’ve found related to this topic:
* https://stackoverflow.com/questions/52504215/how-to-reverse-wordpress-comments-pagination
* https://github.com/wp-plugins/fix-reversed-comments-pagination
* https://gist.github.com/stuartduff/ce0e0c1a9c382a2ac664
* https://www.wpcodetips.com/woocommerce-tutorials/how-to-display-most-recent-woocommerce-product-reviews-first/If you want to go for custom coding and require more help with the actual coding, we’d recommend hiring a developer or one of the customization experts listed at https://woocommerce.com/customizations/.
I hope this helps.
I’d like to cuss, but I’ll just say that this is a malfunction, and since nobody is responsible then broken comments pagination is the norm. A separate plugin shouldn’t be necessary to accomplish what should be default behavior. Maybe it just points to not enough people using WooCommerce that have popular products, so most people are never going to notice. Excuse me while I go bury my head in the sand so I can fit in.
😀
Howdy @skunkbad 👋
Feel free to request new features and extensions via GitHub. Our Product teams regularly review requests and consider them valuable for product planning. Below is a direct link to that page:
https://github.com/woocommerce/woocommerce/issues/new/choose
Thank you for chiming in!
cc @markisu72 🙂
@anastas10s , Since I made my own custom pagination fix for this problem, I don’t need it fixed on your end, but let’s be honest; anyone that’s worked with pagination in other frameworks or applications would know that yours is broken. It’s not a feature request to fix something that’s not right. I’m not going to request a “new feature”, and the woocommerce team can just own this for as long as it takes for them to see the light.
Hi,
we experienced exactly the same problem as @markisu72 described here.
After doing a lot of tests (only WP and WooCommerce enabled, default theme) I can agree that this is definitly a WooCommerce bug.
Hope you guys can fix that soon, other wise pagination on product detail pages does not make sense if the latest comment is not on top and on page 1 (like on amazon….):: Paul
@skunkbad would you share your fix with me?
- The topic ‘Sorting & pagination of reviews is broken’ is closed to new replies.