hay-kot / homebox

Homebox is the inventory and organization system built for the Home User
https://hay-kot.github.io/homebox/
GNU Affero General Public License v3.0
2.71k stars 213 forks source link

Deep-diving to a URL produces an error with no search results #869

Open salsaw opened 8 months ago

salsaw commented 8 months ago

First Check

Homebox Version

0.10.3

What is the issue you are experiencing?

I am unable to deep-dive into a URL generated by the Search page. This is required in order to allow Homebox to be used with an external app that will be providing the search criteria. In my example, I am using an app that scans barcodes and the app can be configured to open an external URL and pass a parameter. I verified the correct URL is being generated and search results only appear if it is done within Homebox itself

Result when doing a search within Homebox image

Result when navigating to the same URL generated by Homebox Search image

Error seen in browser console after deep-diving to the URL image

How can the maintainer reproduce the issue?

  1. Search for anything using the Search page. It could be a simple search as long as it returns results Toggle on the field selection option, add a custom field, search for a valid matching string for that custom field
  2. Copy the URL generated in the browser's address bar and open it in another tab or simply click enter
  3. The results page will now show no results

Deployment

Docker (Synology)

Deployment Details

No response

salsaw commented 8 months ago

Updated my comment. It seems like the deep-dive issue is when adding a custom field to the search criteria.

salsaw commented 7 months ago

Workaround: Add the information to the description in this case until a fix is in place