question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Document filter not working when passing field name in headers of url: Frappe version 13.24.0

See original GitHub issue

doctype

Description of the issue

Context information (for bug reports)

Output of bench version

(paste here)

Steps to reproduce the issue

  1. Filter a document using any field name of the document in headers of URL. eg: /app/medical-detail patient=TestName-Test-184.

Observed result

Filter is not working. Page shows full list of document in that doctype.

Expected result

Supposed to show documents with field name and value passed in headers.

Stacktrace / full error message

(paste here)

Additional information

Tested in frappe version 13.11.1 and it’s working. Issue is in Frappe version 13.24.0

OS version / distribution, Frappe install method, etc.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
fadilsidcommented, Apr 4, 2022

I think this is not yet implemented (I’m not totally sure) found a similar issue: #16040

@phot0n This was working in previous versions of frappe.

0reactions
ankushcommented, Jun 5, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Update route when filters are updated · Issue #16040 - GitHub
Pros: easy to share URL easy to go back to previous filters (I am ... Document filter not working when passing field name...
Read more >
URL for a List with filters? - Reports - ERPNext Forum
I'm looking for a way to use a URL to list Sales Invoices filtered by a customer. Is there a way to do...
Read more >
Overriding Link Query By Custom Script - Frappe Framework
You can override the standard link query by using set_query via the Client ... start, page_len, filters): return frappe.db.sql(""" SELECT name, lead_name, ...
Read more >
67. Upload file and media with REST API - Frappe ERPNEXT
Learn to upload files and media to Frappe /ERPNExt using REST API in Javascript.You will learn1. Upload with url link2.
Read more >
ERPNext / Frappe Filter and Auto-populate Child Table
In this video you will learn how to: - Add a Section to a DocType - Add a Child Table to a DocType...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found