V8-archive: Cannot return filter_count

Created on 28 Jun 2019  ยท  15Comments  ยท  Source: directus/v8-archive

Bug Report

Steps to Reproduce

http://106.75.81.217:9696/_/items/soft?meta=total_count%2Cresult_count%2Cfilter_count&sort=-created_on&offset=0&limit=30&filter%5Bcategory.id%5D%5Bin%5D=4%2C12%2C9%2C10%2C11&fields=id%2Cicon.filename.%2A%2Ccreated_on%2Cslug%2Cos_version%2Ctags%2Cversion%2Ctitle%2Ctitle_des%2Clanguage%2Csize%2Cisflag%2Ciscrack&status=published

Expected Behavior

Filter_count can be returned as normal

Actual Behavior

Cannot return filter_count

Other Context & Screenshots

image
image

Technical Details

  • Device: [eg: Desktop]
  • OS: [Windows 10.1809]
  • Web Server: [Nginx:1.17.0]
  • PHP Version: [7.3.6]
  • Database: [5.7.26]
  • API Version: [2.2.1]
  • APP Version: [7.6.1]
  • Install Method: [cloned master branch]
bug question

Most helpful comment

I've updated though. ๐Ÿ˜„

All 15 comments

Hey @cdwmhcc โ€” I'll keep this open so it gets resolved, but in the future this type of curt bug report will be automatically closed. Please take a little time to include more information about the issue.

Hey @cdwmhcc โ€” I'll keep this open so it gets resolved, but in the future this type of curt bug report will be automatically closed. Please take a little time to include more information about the issue.

I edited it.

Thanks!

Thanks!

This is the norm I should follow. I'm sorry.

Hey @cdwmhcc
Please check below screenshot, filter_count is coming up in response.
this screenshot

Can you please share dump SQL file to reproduce the issue?
If it's private then you can provide it in Slack too!

Hey @cdwmhcc
Please check below screenshot, filter_count is coming up in response.
this screenshot

Can you please share dump SQL file to reproduce the issue?
If it's private then you can provide it in Slack too!

What's your slack name?

Hey @cdwmhcc
Please check below screenshot, filter_count is coming up in response.
this screenshot

Can you please share dump SQL file to reproduce the issue?
If it's private then you can provide it in Slack too!

I sent it to you. Thank you.

Hey @cdwmhcc
Please check below screenshot, filter_count is coming up in response.
this screenshot

Can you please share dump SQL file to reproduce the issue?
If it's private then you can provide it in Slack too!

http://106.75.81.217:9898/_/items/blog?meta=total_count%2Cfilter_count%2Cresult_count&limit=50&offset=0&filter[title][like]=Hello

The latest version,I just installed it completely new.
It does not return filter_count

Hello @cdwmhcc

I agree with @itsmerhp. It seems that this issue is not replicated in the latest release.

image

Can you please confirm that you have the latest version? As I just clone the latest build and tried to replicate this issue. But not able to do so.

Hello @cdwmhcc

I agree with @itsmerhp. It seems that this issue is not replicated in the latest release.

image

Can you please confirm that you have the latest version? As I just clone the latest build and tried to replicate this issue. But not able to do so.

Yes, I confirm the latest version I use.

After talking with @cdwmhcc ;

I am able to know that there are some server issues at their end; which I resolved. So closing this issue :)

@benhaynes
https://docs.directus.io/advanced/server-setup.html#nginx

location / {
        try_files $uri $uri/ /index.php$args;
    }

    location /admin {
        try_files $uri $uri/ /admin/index.html$args;
    }

    location /thumbnail {
        try_files $uri $uri/ /thumbnail/index.php$args;
    }

You need to change index.php$args; to index.php?$args;

Those docs are OSS too. Anyone can submit changes to those markdown files. ๐Ÿ˜‰

I've updated though. ๐Ÿ˜„

Those docs are OSS too. Anyone can submit changes to those markdown files. ๐Ÿ˜‰

I don't know how to operate, haha

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maettyhawk picture maettyhawk  ยท  3Comments

cdwmhcc picture cdwmhcc  ยท  3Comments

cdwmhcc picture cdwmhcc  ยท  3Comments

ondronix picture ondronix  ยท  3Comments

cdwmhcc picture cdwmhcc  ยท  3Comments