mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00
fix empty package
This commit is contained in:
parent
0540063a5d
commit
a74b341cd4
|
@ -137,13 +137,19 @@ CLASS lcl_repo_content_browser IMPLEMENTATION.
|
||||||
|
|
||||||
METHOD filter_changes.
|
METHOD filter_changes.
|
||||||
|
|
||||||
|
DATA lt_repo_temp LIKE ct_repo_items.
|
||||||
|
|
||||||
FIELD-SYMBOLS <item> LIKE LINE OF ct_repo_items.
|
FIELD-SYMBOLS <item> LIKE LINE OF ct_repo_items.
|
||||||
|
|
||||||
LOOP AT ct_repo_items ASSIGNING <item>.
|
LOOP AT ct_repo_items ASSIGNING <item>.
|
||||||
CHECK <item>-changes = 0.
|
CHECK <item>-changes > 0.
|
||||||
DELETE ct_repo_items INDEX sy-tabix.
|
APPEND <item> TO lt_repo_temp.
|
||||||
ENDLOOP.
|
ENDLOOP.
|
||||||
|
|
||||||
|
IF lines( lt_repo_temp ) > 0. " Prevent showing empty package if no changes, show all
|
||||||
|
ct_repo_items = lt_repo_temp.
|
||||||
|
ENDIF.
|
||||||
|
|
||||||
ENDMETHOD. "filter_changes
|
ENDMETHOD. "filter_changes
|
||||||
|
|
||||||
METHOD get_local.
|
METHOD get_local.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user