[OJS-3.4.0] Submission filter: "Sections" autocomplete doesn't work

Describe the issue or problem
When more than 5 sections have been defined for a journal, the “Filters” section of the “Submissions” dashboard page shows a textbox for the “Sections” filter. Yet, when text is entered into that textbox field, nothing happens. I would expect an Ajax request to be triggered (as is happening with the “Issues” filter), but instead no calls are being triggered for “Sections”.

Steps I took leading up to the issue

  1. Go to Submissions
  2. Click on Filters
  3. Scroll down to Sections
  4. Enter text
  5. Nothing happens, no autocomplete suggestions are being shown

What application are you using?
OJS 3.4.0.3

Additional information
When text is entered into the “Issues” textbox, an Ajax HTTP request is triggered, e.g.: http://myjournal/index.php/test/api/v1/issues?searchPhrase=test&_=1695999602021, which returns autocomplete suggestions with issue names matching the search term.

I would expect the same for the textbox offered for the “Sections” filter. Yet, entering text in that search box doesn’t trigger any HTTP request whatsoever.

image

Hi @rvdb,

Interesting … do you see any error in your PHP error log? That might provide more clues.

And you say you’re version is OJS 3.4.0, but do you know the specific build that you are using (typically it would be 3.4.0-1, or 3.4.0-3 [the most current as of this moment] - can you please verify?

-Roger
PKP Team

Hi @rcgillis ,

Sorry, perhaps the formatting was off: I meant OJS 3.4.0-3. I’ve checked, but nothing is logged. It seems that just nothing is being triggered by that “Sections” filter textbox.

(Don’t know if this adds anything, but changing the request that’s being triggered by the “Issues” filter textbox to http://myjournal/index.php/test/api/v1/sections?searchPhrase=test&_=1695999602021 (and variants) all produce an api.404.endpointNotFound error. But the existence of an analogous “sections” endpoint may just be a wrong assumption by me.)

Best,

Ron

@rcgillis Was my clarification sufficient, or do you need more information to reproduce the problem?

Best,

Ron

Hi @rvdb,

It does help - yes - but I’ve referred your question to some other members of our team, who haven’t yet had the opportunity to respond - hopefully you’ll hear from them soon.

Best regards,

Roger
PKP Team

1 Like

Bumping this. I have just discovered the same issue while trying to help Eds with de-cluttering their Active Submissions tab. Filter by Assigned to Editor and Issue work, just not the Section.
3.4.0.4

Hi all,

There’s a quick fix for this, which will be released in OJS and OPS 3.4.0-5. See:

For OJS 3.4.0-4, you can apply this change:

Regards,
Alec Smecher
Public Knowledge Project Team

2 Likes

This topic was automatically closed after 11 days. New replies are no longer allowed.