Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Jump into a project folder after a search

Jump into a project folder after a search

Added by Kersten Mitte about 8 years ago

Hi all,

i use core version 6.14 now.

After the search for an item and the following selection, the correct work package is displayed, but it is not changed to the project folder of the work package.
In previous versions 5.xx was still so.

Can I configure the behavior exactly as in version 5.xx?

Greeting
Kersten


Replies (2)

RE: Jump into a project folder after a search - Added by Oliver Günther about 8 years ago

Hi Kersten,

This is fixed in the next minor release of OpenProject.

You could apply the patch if you want to, but there is no other way to configure the behavior otherwise.

Best,
Oliver

RE: Jump into a project folder after a search - Added by Kersten Mitte about 8 years ago

Hi Oliver,

i patched the file “app/controllers/search_controller.rb” as you have suggested, but it do not work as expected.
after a click on the search link the result is the right working_package but still the wrong project.

the following patch works for me perfect:
file: app/views/search/index.html.erb
+ <%= link_to highlight_tokens(truncate(e.event_title, escape: false, length: 255), `tokens),e %>

  • <%= link_to highlight_tokens(truncate(e.event_title, escape: false, length: 255), `tokens), with_notes_anchor(e, @tokens) %>

work_package 11 is in project “a”

without change:
search result start in project “b”, link = http://…/projects/b/work_package/11

after change:
search result start in project “b”, link = http://…/work_package/11
openproject makes a redirect to http://…/projects/a/work_package/11/activity

Best,
Kersten

  • (1 - 2/2)
Loading...